Skip to content

Commit 00701ce

Browse files
committed
Every pod has its own IP so a maximum of
one zk connection per pod should be sufficient in Kubernetes. I'm adding this config because it's represented in https://github.com/apache/kafka/blob/2.1/config/zookeeper.properties
1 parent 0e57ca1 commit 00701ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

zookeeper/10zookeeper-config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ data:
2020
dataDir=/var/lib/zookeeper/data
2121
dataLogDir=/var/lib/zookeeper/log
2222
clientPort=2181
23+
maxClientCnxns=1
2324
initLimit=5
2425
syncLimit=2
2526
server.1=pzoo-0.pzoo:2888:3888:participant

0 commit comments

Comments
 (0)