Created
January 25, 2021 09:01
-
-
Save abhinavdhasmana/4eea7e18508913490104d01fb2da1bfc to your computer and use it in GitHub Desktop.
zookeeper configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dataDir=/data/zookeeper | |
# the port at which the clients will connect | |
clientPort=2181 | |
# disable the per-ip limit on the number of connections since this is a non-production config | |
maxClientCnxns=0 | |
# the basic time unit in milliseconds used by ZooKeeper. It is used to do heartbeats and the minimum session timeout will be twice the tickTime. | |
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 | |
# zoo servers | |
# these hostnames such as `zookeeper1` come from the /etc/hosts file | |
server.1=zookeeper1:2888:3888 | |
server.2=zookeeper2:2888:3888 | |
server.3=zookeeper3:2888:3888 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment