DataLane

All stacks · Streaming & CDC

Debezium

Change data capture from Postgres, MySQL, and SQL Server into Kafka.

Debezium cover

Related reading

About Debezium

Debezium is how most teams do CDC: log-based change events from Postgres, MySQL, and SQL Server into Kafka (or a compatible bus). It is not a sync tool and it is not a warehouse loader — it is a change log you must land idempotently.

The production work is snapshot vs streaming, heartbeats, TOAST columns, and the MERGE that makes “exactly-once” a key instead of a prayer. We already have a Postgres CDC guide in the catalog.

What you'll learn here

  • Log-based CDC vs queries and why triggers lose
  • Snapshots, incremental snapshots, and not locking prod on Monday
  • Keys, tombstones, and the sink MERGE
  • When Debezium + Kafka Connect is enough vs a vendor CDC

Frequently asked questions

Does Debezium replace Fivetran?

For databases you own and a Kafka platform you already run, Debezium is often cheaper and more controllable. Fivetran wins SaaS sources and teams that do not want to operate Connect. Many platforms run both.

Why did CDC fall behind?

A slot that was not consumed, a connector on a starved worker, or a snapshot that never finished. Monitor replication lag and slot size like a production SLO, not a dashboard curiosity.

Can I CDC into Snowflake without Kafka?

Yes — vendor paths and Snowpipe Streaming exist. Kafka + Debezium is the open, inspectable path. Pick based on who pages when lag hits 45 minutes, not the architecture diagram.

New Debezium posts, straight to your inbox

One email a week with our latest tutorials. No spam.

Newsletter signup is not live yet. Use the contact form if you want to be notified.

↑↓ navigate openesc close