# The number of milliseconds of each tick 服务每次心跳间隔时间
tickTime=2000
# The number of ticks that the initial 当follower连接leader时, leader可以接受最多 10 * 2s 的延迟
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between 如果Leader下发数据协作时, 如果在5 * 2s的时间内没有回馈的话, 会被认为有问题
# 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. 存放zookeeper日志快照等信息
# 不使用默认值, 使用var/zk路径
# dataDir=/tmp/zookeeper
dataDir=/var/zk
# 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=60
#
# Be sure to read the maintenance section of the
# administrator guide before turning on autopurge.
#
# http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance
#
# The number of snapshots to retain in dataDir
#autopurge.snapRetainCount=3
# Purge task interval in hours
# Set to "0" to disable auto purge feature
#autopurge.purgeInterval=1