CDC Fundamentals with Debezium
Log-based CDC with Debezium: WAL/binlog, snapshot + streaming phases, connectors, and Kafka Connect.
Turn a database into a stream of change events — log-based vs query-based vs trigger-based capture, WAL/binlog mechanics, the snapshot and streaming phases, Postgres/MySQL/Mongo connectors, and the Kafka Connect runtime that ties it together.
Course content
- 01Why CDC: The Dual-Write Problem and the Log as TruthFree
- 02Three Ways to Capture Change: Query, Trigger, Log🔒
- 03How the Database Log Works: Postgres WAL & MySQL binlog🔒
- 04Debezium & Kafka Connect: The Runtime🔒
- 05The Snapshot Phase: Bootstrapping Without Losing Events🔒
- 06The Streaming Phase: Tailing the Log🔒
- 07Anatomy of a Change Event (before/after, op, source)🔒
- 08Connector Deep Dive: Postgres (slots, publications, pgoutput)🔒
- 09Connector Deep Dive: MySQL & MongoDB🔒
- 10Handling Schema Changes at the Source🔒
- 11Capstone: Stream TheWorldShop's Orders DB to Kafka🔒
Prerequisites
What to learn next
Read the first chapter free
Start reading now — no account required for the free chapters.