github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/zookeeper/config/zookeeper-config.tpl (about) 1 # The number of milliseconds of each tick 2 tickTime=2000 3 # The number of ticks that the initial 4 # synchronization phase can take 5 initLimit=10 6 # The number of ticks that can pass between 7 # sending a request and getting an acknowledgement 8 syncLimit=30 9 # the directory where the snapshot is stored. 10 # do not use /tmp for storage, /tmp here is just 11 # example sakes. 12 dataDir=/zookeeper/data 13 # the port at which the clients will connect 14 clientPort=2181 15 # the maximum number of client connections. 16 # increase this if you need to handle more clients 17 #maxClientCnxns=500 18 # 19 # Be sure to read the maintenance section of the 20 # administrator guide before turning on autopurge. 21 # 22 # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 23 # 24 # The number of snapshots to retain in dataDir 25 #autopurge.snapRetainCount=3 26 # Purge task interval in hours 27 # Set to "0" to disable auto purge feature 28 #autopurge.purgeInterval=1 29 30 ## Metrics Providers 31 # 32 # https://prometheus.io Metrics Exporter 33 # metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider 34 # metricsProvider.httpPort=7000 35 # metricsProvider.exportJvmInfo=true 36 37 dataLogDir=/zookeeper/log 38 standaloneEnabled=false 39 reconfigEnabled=true 40 4lw.commands.whitelist=srvr, mntr, ruok 41 dynamicConfigFile=/opt/zookeeper/conf/zoo.cfg.dynamic