Phase 1Beginner2 of 18 in Apache Kafka
Topics, Partitions & Keys
How topics are configured and named, why partitions exist, how keys decide ordering and placement, and how to reason about partition count instead of guessing a number.
Partitions are the most important idea in Kafka. They give you parallelism and scale, and they define exactly where ordering holds. Keys decide which partition each record goes to, which means your key choice is really an ordering and load-balancing decision.
Get these right and most of Kafka falls into place; get them wrong and no tuning will save you, because partition counts are hard to change later without breaking key ordering.
0/5 · 0%
5 topics ~41 min 6 code blocks & diagrams