Skip to content

Instantly share code, notes, and snippets.

@eonnen
Created May 9, 2012 18:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eonnen/2647948 to your computer and use it in GitHub Desktop.
Save eonnen/2647948 to your computer and use it in GitHub Desktop.
Sample ZK Configuration
# The number of milliseconds of each tick
tickTime=300
# 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=/home/erik/var/data/zookeeper
# the port at which the clients will connect
clientPort=2181
maxClientCnxns=1024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment