Debezium: PostgreSQL Change Data Capture (CDC)

Adesh Nalpet Adimurthy
Dev Genius
Published in
8 min readOct 21, 2023

--

Figure 1: Debezium Postgres Connector

1. Goal

Set up Debezium to capture row-level changes in the schemas of a PostgreSQL database and publish to Kafka topic(s).

The high-level architecture is unquestionably explained in the above diagram 😎. Pikachu, aka Debezium PostgreSQL Connector, detects and carries/publishes row-level change events to Kafka topic(s) for configured Postgres tables.

--

--

Writer for

Balancing code πŸ’», creativity πŸ–οΈ, and cardio πŸ§—πŸ½β€β™‚οΈ – that's my life as a software engineer, artist, and fitness buff;