kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ij...@apache.org
Subject kafka git commit: MINOR: set group initial rebalance delay to 0 in server.properties
Date Wed, 07 Jun 2017 14:15:16 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk bb914a044 -> f8d6dba34


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 <damian.guy@gmail.com>

Reviewers: Ismael Juma <ismael@juma.me.uk>

Closes #3254 from dguy/minor-prop-change


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

Branch: refs/heads/trunk
Commit: f8d6dba345de432006a0644434823d70c0a907fc
Parents: bb914a0
Author: Damian Guy <damian.guy@gmail.com>
Authored: Wed Jun 7 15:15:13 2017 +0100
Committer: Ismael Juma <ismael@juma.me.uk>
Committed: Wed Jun 7 15:15:13 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/kafka/blob/f8d6dba3/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


Mime
View raw message