Change data capture (CDC) streams every change in your Postgres database to Kafka or Kinesis, so your analysts never have to touch production.
Pointing your analytics team at the main RDS Postgres database means their reports compete with your order traffic. Postgres already records every write in its write-ahead log for crash recovery, and CDC tools like Debezium and AWS DMS read that log and stream it out. The catch is a replication slot that, if left unwatched, can fill your disk and take the database down with it. This video walks through how the pipeline fits together and where it breaks.
📚 What you'll learn:
1️⃣ Why giving analysts direct access to production Postgres hurts your app and your compliance posture
2️⃣ What the write-ahead log stores, and why only wal_level = logical gives CDC the full picture
3️⃣ How Debezium or AWS DMS reads the WAL and streams changes into Kafka or Kinesis
4️⃣ How replication slots let CDC resume after a crash, and how a dead connector fills your disk
🚨 Learn DevOps & Cloud with KodeKloud: https://kode.wiki/3TDrOPK
⏰ Timestamps:
00:00 - What is change data capture (CDC)?
00:30 - Why do we need CDC?
01:58 - WAL levels: minimal, replica and logical
04:40 - Debezium and AWS DMS read the WAL
06:30 - Replication slots: how CDC resumes after a failure
07:20 - The double-edged sword: when the WAL fills your disk
07:50 - CDC Use cases
08:40 - Kafka and Kinesis as the hub for downstream consumers
09:17 - Wrap-up
🔔 Subscribe for more data engineering and real-time streaming explainers
#ChangeDataCapture #CDC #PostgreSQL #KodeKloud #DataEngineering #Debezium #ApacheKafka #AWSKinesis #AWSDMS #WriteAheadLog #RealTimeData #DataPipeline #StreamingData #AWS #DataWarehouse
Change data capture (CDC) streams every change in your Postgres database to Kafka or Kinesis, so your analysts never have to touch production.
Pointing your analytics team at the main RDS Postgres database means their reports compete with your order traffic. Postgres already records every write in its write-ahead log for crash recovery, and CDC tools like Debezium and AWS DMS read that log and stream it out. The catch is a replication slot that, if left unwatched, can fill your disk and take the database down with it. This video walks through how the pipeline fits together and where it breaks.
📚 What you'll learn:
1️⃣ Why giving analysts direct access to production Postgres hurts your app and your compliance posture
2️⃣ What the write-ahead log stores, and why only wal_level = logical gives CDC the full picture
3️⃣ How Debezium or AWS DMS reads the WAL and streams changes into Kafka or Kinesis
4️⃣ How replication slots let CDC resume after a crash, and how a dead connector fills your disk
🚨 Learn DevOps & Cloud with KodeKloud: https://kode.wiki/3TDrOPK
⏰ Timestamps:
00:00 - What is change data capture (CDC)?
00:30 - Why do we need CDC?
01:58 - WAL levels: minimal, replica and logical
04:40 - Debezium and AWS DMS read the WAL
06:30 - Replication slots: how CDC resumes after a failure
07:20 - The double-edged sword: when the WAL fills your disk
07:50 - CDC Use cases
08:40 - Kafka and Kinesis as the hub for downstream consumers
09:17 - Wrap-up
🔔 Subscribe for more data engineering and real-time streaming explainers
#ChangeDataCapture #CDC #PostgreSQL #KodeKloud #DataEngineering #Debezium #ApacheKafka #AWSKinesis #AWSDMS #WriteAheadLog #RealTimeData #DataPipeline #StreamingData #AWS #DataWarehouse