# Debezium

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

**Field:** Data Engineering  
**Category:** Ingestion & Streaming

## 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.

## 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.

## 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.

## Common mistake

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

## Three principles

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

## Related terms

- [Change Data Capture (CDC)](https://learn.benibix.com/term/data/change-data-capture)
- [Apache Kafka](https://learn.benibix.com/term/data/apache-kafka)
- [Kafka Connect](https://learn.benibix.com/term/data/kafka-connect)
- [PostgreSQL](https://learn.benibix.com/term/development/postgresql)
- [MySQL](https://learn.benibix.com/term/development/mysql)

---

Source: https://learn.benibix.com/term/data/debezium
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
