Message Queues & Kafka Internals
Queues vs pub/sub vs logs, Kafka partitions, replication, ISR and acks, consumer groups, offsets, ordering and exactly-once — plus when RabbitMQ or SQS is the better tool.
About 120 minutes · 17 exam questions · 10 interview questions · 2 code labs
What you will learn
- Why messaging: synchronous calls vs asynchronous hand-off
- Queue vs pub/sub vs log: three different contracts
- Kafka architecture: brokers, topics, partitions and segments
- Replication, ISR, acks and leader election (and KRaft)
- Producers: keys, partitioning, batching and the idempotent producer
- Consumer groups and rebalancing
- Offsets and commit strategies
- Ordering guarantees: what Kafka does and does not promise
- Delivery semantics and Kafka exactly-once
- Kafka vs RabbitMQ vs SQS: picking the right broker
- Event-driven architecture: events, commands and contracts
- AWS messaging compared: SQS vs SNS vs EventBridge vs Kinesis