Skip to main content
bash TV

Stream Processing Explained: Kafka, CDC & Fault Tolerance | DDIA Chapter 11

Nishi Ajmera

357 views3 Sept 2026

YouTube

In this session, we break down **Chapter 11 of Designing Data-Intensive Applications (DDIA)** and explain stream processing from first principles. We start with a simple question: what changes when data is no longer bounded like a batch, but keeps arriving continuously? From there, we build up the core ideas behind modern stream processing systems: * What streams and events actually are * Producers, consumers, and message brokers * Queue-based messaging vs log-based messaging * RabbitMQ-style queues vs Kafka-style durable logs * Partitions, ordering, offsets, and replay * The dual-write problem and why it causes inconsistencies * Change Data Capture (CDC) * Why state can be derived from an event stream * Materialized views * Tumbling, hopping, sliding, and session windows * Stream-stream and stream-table joins * At-least-once delivery * Idempotence and fault tolerance * Checkpointing and rebuilding state after failures The goal is not just to learn Kafka or memorize stream-processing terminology. It is to understand the fundamental design ideas behind systems that continuously process data and stay up to date as new events arrive. We also connect the concepts from DDIA to how modern systems are built today, including an important distinction: **Queues are primarily about distributing work. Logs are primarily about recording history.** If you are learning distributed systems, Kafka, event-driven architecture, Change Data Capture, data engineering, backend architecture, or preparing for system design interviews, this session will give you a strong mental model for stream processing. Based on: **Designing Data-Intensive Applications by Martin Kleppmann — Chapter 11: Stream Processing** #streamprocessing #kafka #rabbitmq #ddia #distributedsystems #systemdesign #eventdrivenarchitecture #cdc #dataengineering #softwarearchitecture

Join the discussion

Have something to add?

Sign in to reply, follow this thread, and earn XP when your answer helps someone.