Giter Site home page Giter Site logo

kmsarabu / debezium-db2-pg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thecloudloop/debezium-db2-pg

0.0 0.0 0.0 25.14 MB

Db2 to PostgreSQL database migration with Debezium, Apache Kafka® and Apache Kafka® Connect

License: MIT License

Dockerfile 31.06% Python 68.94%

debezium-db2-pg's Introduction

Migrating Db2 Database to PostgreSQL using Debezium, Apache Kafka® and Apache Kafka® Connect

This repository guides users to migrate databases to open source PostgreSQL with minimal downtime using Debezium.

How does it work?

Debezium is a powerful open-source Change Data Capture (CDC) platform designed to transform data from existing databases into event streams, enabling applications to promptly detect and respond to changes at the row level within these databases.

Using Debezium involves three distinct services: ZooKeeper, Kafka, and the Debezium Connector Services:

ZooKeeper, as a foundational component, plays a critical role in providing distributed coordination and configuration management that ensures the reliability of the entire system. It serves as the bedrock for maintaining consensus among distributed Kafka brokers, ensuring high availability, and facilitating leadership election within a Kafka cluster.

Kafka, another pivotal service, serves as the backbone of the data pipeline, functioning as the distributed message broker for Debezium. Kafka efficiently captures, stores, and delivers the change events emitted by Debezium connectors in real-time.

The Connector Services, powered by Kafka Connectors tailored to your source and target databases, act as the bridge connecting your database systems to Kafka. These connectors capture database changes and transform them into a stream of events, which are then fed into the Kafka ecosystem for downstream processing. This processing can include real-time analytics, data warehousing, or data synchronization. Together, these three services create a robust architecture that empowers organizations to harness the full potential of real-time data capture and replication.

Architecture

The diagram below illustrates the robust Debezium Change Data Capture (CDC) platform, consisting of Kafka and Kafka Connector Services. The Debezium Db2 source connector captures and emits row-level changes from tables as events into their respective Kafka topics. Subsequently, the JDBC Sink connector consumes these events and applies them to the target PostgreSQL database.

Architecture

Please visit Blog for additional details.

debezium-db2-pg's People

Contributors

thecloudloop avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.