partition assignment
The decision about which consumer in a group reads which partitions.
In more detail
Each partition is given to exactly one member, so three partitions across two consumers split two and one. Built-in strategies include range and round robin. Assignments change during a rebalance.
Related terms
- consumer group — A set of consumers sharing one group ID that divide a topic's partitions between them so each partition is read by only one member at a time.
- rebalance — The process in which a consumer group redistributes partitions among its members after one joins, leaves or is judged dead.
- ConsumerRebalanceListener — A kafka-python class you subclass to run your own code when a consumer gains or loses partitions during a rebalance.
Taught in
- Acknowledged Is Not Always Safe — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Too Slow Between Two Polls — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Twenty Seconds Of Nothing — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Blank Names After Every Deploy — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The New Broker That Did Nothing — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Eleven Thousand Scans That Never Arrived — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Consumer Groups And Partition Assignment — Apache Kafka & Event Streaming
- Rebalancing And Its Cost — Apache Kafka & Event Streaming