Want to master Clean Architecture? Go here: https://bit.ly/3PupkOJ
Want to unlock Modular Monoliths? Go here: https://bit.ly/3SXlzSt
Join a community of 1000+ .NET developers: https://www.patreon.com/milanjovanovic
Learn how to implement Change Data Capture (CDC) in your .NET applications using Debezium, PostgreSQL, and RabbitMQ with MassTransit. In this tutorial, I'll show you how to:
- Set up Debezium to capture database changes
- Configure PostgreSQL for CDC
- Stream changes to RabbitMQ
- Process events with MassTransit in .NET
- Implement real-time data synchronization
Perfect for building event-driven architectures, data replication systems, or keeping your microservices in sync. See how these powerful tools work together to create a robust CDC pipeline.
Debezium: https://debezium.io/
Postgres Logical Replication:
https://www.postgresql.org/docs/current/logical-replication.html
Check out my courses:
https://www.milanjovanovic.tech/courses
Read my Blog here:
https://www.milanjovanovic.tech/blog
Join my weekly .NET newsletter:
https://www.milanjovanovic.tech
Chapters
0:00 What is Change Data Capture?
3:21 Configuring the Debezium server
9:28 Adding a MassTransit consumer
12:11 Setting up RabbitMQ topology
16:39 Transforming CDC messages