32 lines
1023 B
INI
32 lines
1023 B
INI
# The number of milliseconds of each tick
|
|
tickTime=2000
|
|
# The number of ticks that the initial
|
|
# synchronization phase can take
|
|
initLimit=10
|
|
# The number of ticks that can pass between
|
|
# sending a request and getting an acknowledgement
|
|
syncLimit=5
|
|
# the directory where the snapshot is stored.
|
|
dataDir=/var/lib/zookeeper
|
|
|
|
# the port at which the clients will connect
|
|
clientPort=2181
|
|
|
|
# specify all zookeeper servers
|
|
# The fist port is used by followers to connect to the leader
|
|
# The second one is used for leader election
|
|
server.1={{ hostvars['zk01'].ansible_host }}:2888:3888
|
|
|
|
# Necessary for TLS support
|
|
serverCnxnFactory=org.apache.zookeeper.server.NettyServerCnxnFactory
|
|
|
|
# Client TLS configuration
|
|
secureClientPort=2281
|
|
ssl.keyStore.location=/etc/zookeeper/ca/keystores/server.pem
|
|
ssl.trustStore.location=/etc/zookeeper/ca/certs/cacert.pem
|
|
|
|
# Server TLS configuration
|
|
sslQuorum=true
|
|
ssl.quorum.keyStore.location=/etc/zookeeper/ca/keystores/server.pem
|
|
ssl.quorum.trustStore.location=/etc/zookeeper/ca/certs/cacert.pem
|