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.

Intermediate11 chapters· 3h 50m· in Ingestion & Transport

Course content

  1. 01Why CDC: The Dual-Write Problem and the Log as TruthFree
  2. 02Three Ways to Capture Change: Query, Trigger, Log🔒
  3. 03How the Database Log Works: Postgres WAL & MySQL binlog🔒
  4. 04Debezium & Kafka Connect: The Runtime🔒
  5. 05The Snapshot Phase: Bootstrapping Without Losing Events🔒
  6. 06The Streaming Phase: Tailing the Log🔒
  7. 07Anatomy of a Change Event (before/after, op, source)🔒
  8. 08Connector Deep Dive: Postgres (slots, publications, pgoutput)🔒
  9. 09Connector Deep Dive: MySQL & MongoDB🔒
  10. 10Handling Schema Changes at the Source🔒
  11. 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.