Kafka, RabbitMQ & Queues
Partition
Kafka orders records within a partition, not across all partitions. Consumer group assignments distribute partitions among consumers; offsets represent positions in a partition log.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A command to try yourself
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Kafka, RabbitMQ & Queues
- Message keyBeginner · 4 min
Message key selects partition for related records.
- Consumer groupBeginner · 4 min
Consumer group shares partitions among member consumers.
- OffsetBeginner · 4 min
Offset identifies a log position within a partition.
- Replication factorBeginner · 4 min
Replication factor sets number of partition replicas.