Messaging and Streaming
Kafka, delivery semantics, event-driven architecture, and stream processing at scale.
Figure: Event log with partitions and consumer group parallelism.
What You'll Learn
Message brokers decouple producers from consumers and absorb load spikes. This domain covers at-most-once, at-least-once, and exactly-once semantics, Kafka's log-based architecture, and event-driven system design patterns.
Chapters
| Chapter | Focus |
|---|---|
| Message Delivery Semantics | At-most/at-least/exactly-once, idempotent consumers |
| Kafka Architecture | Topics, partitions, consumer groups, ISR |
| Event-Driven Architecture | Event notification vs event-carried state, CQRS |
Learning Path
- Message Delivery Semantics — foundation for every streaming design.
- Kafka Architecture — the de facto interview standard for event logs.
- Event-Driven Architecture — when to use events vs synchronous calls.
Interview Prep
| Resource | Topic |
|---|---|
| Slack Message Delivery | Ordering, Kafka, delivery guarantees |
| Shopify Transactional Outbox | Reliable event publishing |
| Lab | Kafka stream processing on :8094 — engineer guide |
Prerequisites
- Transactions — outbox pattern
- Distributed Systems Foundations
Production readiness + Game Day
Every substantive chapter in this domain targets the Production LLD and Game Day Standard: whiteboard Production LLD (APIs, data, failure paths) and run Game Day drills (inject → detect → mitigate → verify → learn).
| Start here | What you practice |
|---|---|
| Chapter §22A / §22B (where present) | Ship-ready LLD + drill catalog |
| Chapter §23 PRACTICE | Full interview script |
| Curriculum Overview — Phase 7 | Rollout status |
Next Domain
Continue to Caching and Microservices.
Return to the Curriculum Overview for the full learning path.