Skip to main content

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​

ChapterFocus
Message Delivery SemanticsAt-most/at-least/exactly-once, idempotent consumers
Kafka ArchitectureTopics, partitions, consumer groups, ISR
Event-Driven ArchitectureEvent notification vs event-carried state, CQRS

Learning Path​

  1. Message Delivery Semantics — foundation for every streaming design.
  2. Kafka Architecture — the de facto interview standard for event logs.
  3. Event-Driven Architecture — when to use events vs synchronous calls.

Interview Prep​

ResourceTopic
Slack Message DeliveryOrdering, Kafka, delivery guarantees
Shopify Transactional OutboxReliable event publishing
LabKafka stream processing on :8094 — engineer guide

Prerequisites​

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 hereWhat you practice
Chapter §22A / §22B (where present)Ship-ready LLD + drill catalog
Chapter §23 PRACTICEFull interview script
Curriculum Overview — Phase 7Rollout status

Next Domain​

Continue to Caching and Microservices.

Return to the Curriculum Overview for the full learning path.