Reliably Sending Events to Apache Kafka: From CDC to the Transactional Outbox Pattern
summary
Covers reliable event delivery to Apache Kafka from relational databases, comparing approaches from CDC (Change Data Capture) to the Transactional Outbox pattern. Describes technologies and trade-offs for guaranteeing delivery and preventing event loss in microservices and distributed systems, and gives guidance for choosing the optimal solution in different situations.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 1:43Distributed systems problems
- 3:15Kafka delivery guarantees
- 5:21PostgreSQL vacuum
- 7:07Synchronous sending issues
- 8:30Consistency solutions
- 10:28CDC explained
- 14:01Transactional Outbox Pattern
- 16:32PostgreSQL partitions
- 17:58Lock-based data fetch
- 20:23Handling stuck messages
- 21:42Using counters
- 24:52Kafka event buffering
- 28:01Transactions and callbacks
- 28:43Scaling the solution
- 30:32When to use Kafka Connect
- 33:09Summary
- 34:19Q&A
related talks
30mChange Data Streaming Patterns in Distributed Systems
41mChange Data Streaming Patterns in Distributed Systems
45mReliable Toolkit for Event-Driven Microservice Architecture
34mAtomicity and Consistency Across Databases and Messaging Systems
18mGuaranteed messages delivery:Challenges of transactional Outbox & Inbox patterns
42mCreating event-driven microservices: the why, how and what
36mChange Data Streaming Patterns for Distributed Systems
21mHow Apache Kafka® Generates Value In Retail With Confluent
