Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
2.6.0
-
None
-
None
Description
If consumers are polling messages from a certain topic with static membership and we add new partitions to this topic while the consumers are running, no partition reassignment is ever triggered (and hence messages published into the new partitions are never consumed).
To reproduce, simply set group instance IDs on the consumers:
props.setProperty("group.instance.id", instanceId);
And then while the static consumers are running, use Kafka's admin client to add more partitions to the topic:
adminClient.createPartitions(...)