-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Persistence Best Practices for Java Applications
By :

Change Data Capture (CDC) is a technique used to track and capture changes made to data in a database. It enables organizations to identify, capture, and propagate data changes in near-real time, providing a reliable and efficient data integration and synchronization method across different systems.
The following diagram shows a sample using the CDC pattern where we have a source that fires an event, and based on this event, each subscriber results in two database targets:
Figure 11.1 – CDC architecture representation
The process of CDC involves monitoring and capturing changes that occur at the database level, such as inserts, updates, and deletes, and emitting these as individual events. Instead of constantly polling the entire database for changes, CDC mechanisms track and capture only the modified data, reducing unnecessary overhead and improving performance.
Let’s look at some further advantages of CDC...