This is an automated email from the ASF dual-hosted git repository.

jgus pushed a commit to branch trunk
in repository

The following commit(s) were added to refs/heads/trunk by this push:
     new b687660  MINOR: Additional detail in description for zookeeper.connect 
b687660 is described below

commit b68766017f11afd7e541fa84378d5e616cf1e81a
Author: Mickael Maison <>
AuthorDate: Thu Jul 12 20:44:12 2018 +0200

    MINOR: Additional detail in description for zookeeper.connect (#5358)
    This setting allows specifying a chroot so we documented it.
    Co-authored-by: Mickael Maison <>
    Co-authored-by: Katherine Farmer <>
    Reviewers: Manikumar Reddy O <>, Jason Gustafson 
 core/src/main/scala/kafka/server/KafkaConfig.scala | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/core/src/main/scala/kafka/server/KafkaConfig.scala 
index aeccc34..7f9ccf6 100755
--- a/core/src/main/scala/kafka/server/KafkaConfig.scala
+++ b/core/src/main/scala/kafka/server/KafkaConfig.scala
@@ -463,7 +463,11 @@ object KafkaConfig {
   /* Documentation */
   /** ********* Zookeeper Configuration ***********/
-  val ZkConnectDoc = "Zookeeper host string"
+  val ZkConnectDoc = "Specifies the ZooKeeper connection string in the form 
<code>hostname:port</code> where host and port are the " +
+  "host and port of a ZooKeeper server. To allow connecting through other 
ZooKeeper nodes when that ZooKeeper machine is " +
+  "down you can also specify multiple hosts in the form 
<code>hostname1:port1,hostname2:port2,hostname3:port3</code>.\n" +
+  "The server can also have a ZooKeeper chroot path as part of its ZooKeeper 
connection string which puts its data under some path in the global ZooKeeper 
namespace. " +
+  "For example to give a chroot path of <code>/chroot/path</code> you would 
give the connection string as 
   val ZkSessionTimeoutMsDoc = "Zookeeper session timeout"
   val ZkConnectionTimeoutMsDoc = "The max time that the client waits to 
establish a connection to zookeeper. If not set, the value in " + 
ZkSessionTimeoutMsProp + " is used"
   val ZkSyncTimeMsDoc = "How far a ZK follower can be behind a ZK leader"

Reply via email to