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.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
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
| Component | Kafka version line | Documented default |
|---|---|---|
| Broker | 0.8.0 | null |
| Broker | 0.8.1 | null |
| Broker | 0.8.2 | null |
| Broker | 0.9.0 | null |
| Broker | 0.10.0 | null |
| Broker | 0.10.1 | null |
| Broker | 0.10.2 | null |
| Broker | 0.11.0 | null |
| Broker | 1.0 | null |
| Broker | 1.1 | null |
| Broker | 2.0 | null |
| Broker | 2.1 | null |
| Broker | 2.2 | null |
| Broker | 2.3 | null |
| Broker | 2.4 | |
| Broker | 2.5 | |
| Broker | 2.6 | |
| Broker | 2.7 | |
| Broker | 2.8 | null |
| Broker | 3.0 | null |
| Broker | 3.1 | null |
| Broker | 3.2 | null |
| Broker | 3.3 | null |
| Broker | 3.4 | null |
| Broker | 3.5 | null |
| Broker | 3.6 | null |
| Broker | 3.7 | null |
| Broker | 3.8 | null |
| Broker | 3.9 | null |
| Consumer | 0.8.0 | null |
| Consumer | 0.8.1 | null |
| Consumer | 0.8.2 | null |
| Consumer | 0.9.0 | null |
| Consumer | 0.10.0 | null |
| Consumer | 0.10.1 | null |
| Consumer | 0.10.2 | null |
| Consumer | 0.11.0 | null |
| Consumer | 1.0 | null |
| Consumer | 1.1 | null |
| Consumer | 2.0 | null |
| Kafka Streams | 0.10.0 | |
| Kafka Streams | 0.10.1 | |
| Kafka Streams | 0.10.2 | |
| Kafka Streams | 0.11.0 | |
| Kafka Streams | 1.0 | |
| Kafka Streams | 1.1 | |