Kafka, RabbitMQ & Queues
Kafka partitions
Kafka partitions provide ordered logs and units of assignment within a consumer group.
What you will be able to do
- Explain the example and component responsibilities
- Choose the next evidence to inspect
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
- RetentionBeginner · 5 min
Retention removes old logs by time or size policy.
- RebalanceBeginner · 5 min
Rebalance reassigns partitions among consumer group members.
- Partition orderingIntermediate · 4 min
Kafka orders records only inside one partition, and never across partitions. Records that must stay in order need the same key, because the key decides which partition…
- Producer acksIntermediate · 4 min
Kafka producer acknowledgements and the in-sync replica threshold determine when writes can succeed.
- Transactions in KafkaIntermediate · 4 min
Kafka transactions make writes to several partitions visible together or not at all. Consumers see that outcome only when they read with read_committed, and the design…
- Consumer groupsIntermediate · 4 min
A consumer group shares a topic's partitions among its members, while each group keeps its own committed offsets. Groups do not affect each other, so one topic can feed…