# 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.
# the port at which the clients will connect
clientPort=2181
# the port at which the admin will listen
admin.enableServer=true
admin.serverPort=9990 # zk带管理端
# 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
# Requires updates to be synced to media of the transaction log before finishing
# processing the update. If this option is set to 'no', ZooKeeper will not require
# updates to be synced to the media.
# WARNING: it's not recommended to run a production ZK cluster with forceSync disabled.
forceSync=yes
dataDir=/home/pulsar/data/zookeeper/data # 用来放myid的
dataLogDir=/home/pulsar/data/zookeeper/dataLog # 放日志的
server.1=192.168.33.3:2888:2889 #zk 集群的信息
server.2=192.168.33.4:2888:2889
server.3=192.168.33.5:2888:2889