Streaming Data Contracts With Debezium and Apache Flink
summary
Shows that coupling from Debezium CDC to consumers is solvable: either add an outbox pattern (app writes immutable messages to an outbox table, Debezium captures only inserts — requires app changes) or use Apache Flink stream processing (Flink SQL reads Debezium-backed source, denormalizes one-to-many into arrays with ARRAY_AGG conversion, renames/filters/changes types, and writes to Kafka). Describes safepoint workflow to rename columns without breaking consumers and demonstrates forward-compatible schema evolution; the Flink pipeline runs continuously and successfully enforces the data contract.
AI-written summary · about
chapters (10)
- 0:00Introduction and welcome
- 1:47What is Debezium and Flink
- 3:54Why streaming change data capture
- 7:26Concerns with CDC and encapsulation
- 11:42Introducing data contracts
- 14:10Outbox pattern for CDC
- 16:20Stream processing with Flink SQL
- 24:52Handling schema changes
- 29:55Recap and key takeaways
- 32:48Q&A and closing
