πŸ“¨ Partitions & Offsets

The Anatomy of a Kafka Topic β€” and How to Choose Partition Counts

A Kafka topic is split into partitions β€” ordered, append-only logs. Each message gets an offset (sequence number) within its partition. Producers choose partitions by key hash (or round-robin). Consumer groups divide partitions among members β€” each partition is read by exactly one consumer.

πŸ“€ Producer: How Messages Land in Partitions

Messages0
Keys Seen0
Hottest Partitionβ€”
Skew0%

πŸ‘₯ Consumer Groups: Partition Assignment

Each partition is assigned to exactly one consumer. More consumers than partitions = idle consumers.