Red Hat Integration: Capture Database Changes with Debezium, Apache Camel & Apache Kafka
Channel: Hugo Guerrero
Date: 2020-04-15

Change data capture helps to bridge traditional data stores and new cloud-native event-driven architectures.  Debezium is a set of distributed services that captures row-level changes in databases so that applications can see and respond to those changes. The general availability (GA) release from Red Hat Integration includes the following Debezium connectors for Apache Kafka: MySQL Connector, PostgreSQL Connector, MongoDB Connector, and SQL Server Connector.


Some of the use cases where change data capture becomes pretty useful include:

* Data replication, to other databases, to feed data to other teams or as streams for analytics, data lakes or data warehouses
* Microservices data exchange, to propagate data between different services without coupling, keeping optimized views locally, or for monolith to microservices evolutions.
* General usage, including auditing, cache invalidation, indexing for full text search or for updating CQRS read models.


Meanwhile, Apache Camel Kafka Connectors allows you to use all Camel components as Kafka Connect connectors, which as result expands Kafka Connect compatibility to include all Camel components to be used in Kafka ecosystem.