Apache Kafka
Architecture, partitioning, delivery semantics, retention, and ordering
Architecture Overview
Understand Kafka as a distributed, partitioned, replicated commit log — not a traditional queue.
Producers & Partitioning
Control which partition a record lands in — the lever that governs ordering and load balance.
Consumer Groups & Rebalancing
Scale consumption horizontally while each message is processed once per group.
Replication, ISR & Durability
Survive broker failures without losing committed data.
Delivery Semantics
Choose between at-most-once, at-least-once, and exactly-once — and know what each really costs.
Log Retention & Compaction
Decide how long data lives — by time/size, or by keeping only the latest value per key.
Ordering Guarantees
Know exactly where Kafka promises order — and where it does not.
Schema Registry & Evolution
Let producers and consumers evolve message formats independently without breaking each other.
When to Use Kafka
Recognise the workloads Kafka is built for — and the ones it is wrong for.