this is how my zoo.cfg looks,

# https://zookeeper.apache.org/doc/r3.5.5/zookeeperAdmin.html
# https://zookeeper.apache.org/doc/r3.5.5/zookeeperReconfig.html

# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial synchronization phase can take
initLimit=20
# The number of ticks that can pass between sending a request and
getting an acknowledgement
syncLimit=15
quorumListenOnAllIPs=true

# HA (multi-node) setup
standaloneEnabled=false
dynamicConfigFile=/zookeeper/conf/zoo.cfg.dynamic

# location of in-memory database snapshots
dataDir=/data
# location of the transaction-log
dataLogDir=/data/xnlogs

maxClientCnxns = 1000
# enable regular purging of old data
autopurge.purgeInterval=24
autopurge.snapRetainCount=5

# The maximum session timeout in milliseconds that the server will
allow the client to negotiate
maxSessionTimeout=180000


And I have provided server list in dynamic file without client ports,

eg.
server.1=a.zookeeper.service:2888;3888server.2=b.zookeeper.service:2888;3888
server.3=c.zookeeper.service:2888;3888

I haven't been able to start the service in TLS mode yet as the certs
work is taken care by the infra team. But atleast the app failed at
the handshake and not at port binding.

Regards,
Aishwarya Soni

Reply via email to