conduktor.io ↗

KIP-341 — Update Sticky Assignor's User Data Protocol

Accepted Kafka 2.3 Consumer

Updates the `StickyAssignor`'s user-data protocol to encode the previous assignment generation ID alongside the partition assignment, allowing the leader to detect and discard stale assignment reports from members that missed a generation. Without the generation ID, a consumer rejoining after a missed rebalance reports an outdated assignment, causing the sticky assignor's leader to start from a suboptimal partition distribution.

Details

AuthorVahid Hashemian
StatusAccepted
Kafka Version2.3
JIRAKAFKA-7026
WikiView on Apache Wiki
Created2018-07-13
Last Modified2019-04-16
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.