conf/zookeeper/zoo.cfg (8 lines of code) (raw):

# 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. # do not use /tmp for storage, /tmp here is just # example sakes. dataDir=DATA_DIR/zookeeper # the port at which the clients will connect clientPort=2181 # the maximum number of client connections. # increase this if you need to handle more clients maxClientCnxns=100 # whitelist a few useful four-letter-word commands 4lw.commands.whitelist=mntr,stat,ruok,wchs # disable the admin server listening on 8080 by default admin.enableServer=false