GitHub user dguy opened a pull request:
https://github.com/apache/kafka/pull/2758
KAFKA-4925: delay initial rebalance of consumer group [WiP]
Add new broker config, `group.initial.rebalance.delay.ms`, with a default
of 3 seconds.
When a consumer creates a new group, set the group's state to
InitialRebalance and delay the rebalance until
`min(group.initial.rebalance.delay.ms, rebalanceTimeout)`. As other members
join the group further delay the rebalance by
`min(group.initial.rebalance.delay.ms, remainingRebalanceTimeout)`. Once
`rebalanceTimeout` is hit or no new members join the group within the delay,
complete the rebalance.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dguy/kafka kafka-4925
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/2758.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2758
----
commit 26acb81e51c3485c01e2d4f3b5fea50afa957574
Author: Damian Guy <[email protected]>
Date: 2017-03-29T13:05:59Z
delay initial rebalance of consumer group
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---