Change Data Capture (CDC) एक source database से हर insert/update/delete को stream करता है — आमतौर पर इसका transaction log पढ़कर — और उन्हें events के रूप में publish करता है जिन्हें दूसरे systems consume करते हैं, ताकि downstream stores बिना dual-writes या polling के sync रहें।
Postgres/MySQL Debezium Kafka topic sinks
┌────────────┐ reads ┌─────────┐ emit ┌──────────┐ consume ┌───────────┐
│ WAL/binlog │ ───────▶ │ connector│ ──────▶ │ per-table│ ───────▶ │ search │
│ (tx log) │ │ │ events │ ordered │ │ warehouse │
└────────────┘ └─────────┘ └──────────┘ │ cache │
└───────────┘
