Using Debezium
Debezium
Debezium is an open source distributed platform for change data capture (CDC). It provides a common interface for streaming and processing of changes in your databases. Start it up, point it at your databases, and your apps can start responding to all of the inserts, updates, and deletes that other apps commit to your databases. Debezium is durable and fast, so your apps can respond quickly and never miss an event, even when things go wrong.
Debezium provides a growing library of source connectors for Apache Kafka Connect. Each connector ingests changes from a different database by using that database’s features for CDC, and produces change events with very similar structures, making it easy for your applications to consume and respond to events, regardless of their origin.
The Db2 for IBM i Connector leverages journals as a source for CDC events.
Debezium reference materials: