zookeeper.connect — Kafka Broker Configuration
Specifies the ZooKeeper connection string in the form hostname:port 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 hostname1:port1,hostname2:port2,hostname3:port3.
Description
Specifies the ZooKeeper connection string in the form hostname:port 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 hostname1:port1,hostname2:port2,hostname3:port3.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 /chroot/path you would give the connection string as hostname1:port1,hostname2:port2,hostname3:port3/chroot/path.
Default Values by Kafka Version
| Kafka Version | Default Value |
|---|---|
| 0.8.0 | null |
| 0.8.1 | null |
| 0.8.2 | null |
| 0.9.0 | null |
| 0.10.0 | null |
| 0.10.1 | null |
| 0.10.2 | null |
| 0.11.0 | null |
| 1.0 | null |
| 1.1 | null |
| 2.0 | null |
| 2.1 | null |
| 2.2 | null |
| 2.3 | null |
| 2.4 | |
| 2.5 | |
| 2.6 | |
| 2.7 | |
| 2.8 | null |
| 3.0 | null |
| 3.1 | null |
| 3.2 | null |
| 3.3 | null |
| 3.4 | null |
| 3.5 | null |
| 3.6 | null |
| 3.7 | null |
| 3.8 | null |
| 3.9 | null |