ZooKeeper配置文件zoo.cfg
cat conf/zoo.cfg autopurge.purgeInterval=24 autopurge.snapRetainCount=5 clientPort=2181 dataDir=/data/zookeeper dataLogDir=/log/zookeeper initLimit=10 maxClientCnxns=500 maxSessionTimeout=60000 minSessionTimeout=4000 syncLimit=5 tickTime=2000 4lw.commands.whitelist=* metricsProvider.exportJvmInfo=true skipACL=yes forceSync=no metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider metricsProvider.httpPort=7000 server.1=0.0.0.1:2888:3888 server.2=0.0.0.2:2888:3888 server.3=0.0.0.3:2888:3888
请登录之后再进行评论