Why architecture matters here
CDC fails on snapshot mismatches, schema drift, and ordering assumptions. Architecture matters because log + snapshot + schema combine.
Advertisement
The architecture: every piece explained
The top strip is capture. Source DB. WAL / binlog reader. Snapshot. Change stream.
The middle row is semantics. Schema evolution. Delivery semantics. Ordering. Downstream sinks.
The lower rows are practice. Debezium / connectors. Metrics. Ops — snapshot restart + PII.
Advertisement
End-to-end flow
End-to-end: connector starts with snapshot; streams past rows to Kafka. Switches to WAL tail. Every change flows keyed by PK. Warehouse consumes for analytics; cache for read-through. Schema evolves; connector emits schema events.