feat: add images
This commit is contained in:
41
images/zookeeper_config/zoo.cfg
Normal file
41
images/zookeeper_config/zoo.cfg
Normal file
@@ -0,0 +1,41 @@
|
||||
# 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=/opt/zookeeper/tmp
|
||||
# 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.
|
||||
#
|
||||
# https://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
|
||||
|
||||
## Metrics Providers
|
||||
#
|
||||
# https://prometheus.io Metrics Exporter
|
||||
#metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider
|
||||
#metricsProvider.httpHost=0.0.0.0
|
||||
#metricsProvider.httpPort=7000
|
||||
#metricsProvider.exportJvmInfo=true
|
||||
|
||||
server.1=master:2888:3888
|
||||
server.2=slave1:2888:3888
|
||||
server.3=slave2:2888:3888
|
||||
server.4=slave3:2888:3888
|
Reference in New Issue
Block a user