conduktor.io ↗

KIP-34 — Add Partitioner Change Listener to Partitioner Interface for Multiple Use Case

Discussion Producer

KIP-34 proposes adding a partition-change listener callback to the `Partitioner` interface so custom partitioners are notified when a topic's partition count changes or partitions go offline/online. Without this, a custom partitioner relying on partition count (e.g. to enforce a buffer cap) has no way to react to topology changes between metadata refresh intervals.

Details

AuthorBhavesh Mistry
StatusDiscussion
WikiView on Apache Wiki
Created2015-09-14
Last Modified2015-09-24
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.