Repository: kafka
Updated Branches:
  refs/heads/0.11.0 2f5b652a3 -> 5363cd4c6


MINOR: set group initial rebalance delay to 0 in server.properties

override the setting of `group.initial.rebalance.delay` in server.properties

Author: Damian Guy <[email protected]>

Reviewers: Ismael Juma <[email protected]>

Closes #3254 from dguy/minor-prop-change

(cherry picked from commit f8d6dba345de432006a0644434823d70c0a907fc)
Signed-off-by: Ismael Juma <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/5363cd4c
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/5363cd4c
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/5363cd4c

Branch: refs/heads/0.11.0
Commit: 5363cd4c6242673c5079520f3ed4abfec68f83ed
Parents: 2f5b652
Author: Damian Guy <[email protected]>
Authored: Wed Jun 7 15:15:13 2017 +0100
Committer: Ismael Juma <[email protected]>
Committed: Wed Jun 7 15:15:25 2017 +0100

----------------------------------------------------------------------
 config/server.properties | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/5363cd4c/config/server.properties
----------------------------------------------------------------------
diff --git a/config/server.properties b/config/server.properties
index 53b99ed..4a9a550 100644
--- a/config/server.properties
+++ b/config/server.properties
@@ -129,3 +129,11 @@ zookeeper.connect=localhost:2181
 zookeeper.connection.timeout.ms=6000
 
 
+############################# Group Coordinator Settings 
#############################
+
+# The following configuration specifies the time, in milliseconds, that the 
GroupCoordinator will delay the initial consumer rebalance.
+# The rebalance will be further delayed by the value of 
group.initial.rebalance.delay.ms as new members join the group, up to a maximum 
of max.poll.interval.ms.
+# The default value for this is 3 seconds.
+# We override this to 0 here as it makes for a better out-of-the-box 
experience for development and testing.
+# However, in production environments the default value of 3 seconds is more 
suitable as this will help to avoid unnecessary, and potentially expensive, 
rebalances during application startup.
+group.initial.rebalance.delay.ms=0
\ No newline at end of file

Reply via email to