Skip to content
BENIBIX Learn

Debezium

Data📥 Ingestion & StreamingData Ingestion

A free CDC tool. It turns each database change into an event.

Think of it like

It is like a friend who sits by your toy box. Each time a toy goes in or out, they shout it out.

Example

Jack points Debezium at the orders table. Now each new or changed order shows up in Kafka. It takes just a few seconds.

Why it matters

It is the most common open source way to do CDC. Teams get live change events without writing log readers themselves.

Definition

Debezium is a free, open source tool for change data capture. It reads the change logs of databases such as PostgreSQL, MySQL and SQL Server. It turns each row change into an event with the old and new values. It most often runs on Kafka Connect and writes the events into Kafka topics. Other systems then read those topics.

Common mistake

Forgetting the first snapshot. Debezium first copies the existing rows, which can take hours on a big table.

Key takeaways

  1. 1
    Reads change logs. PostgreSQL, MySQL, SQL Server and more.
  2. 2
    Before and after. Each event holds old and new values.
  3. 3
    Kafka Connect. It usually runs as a connector.