0


zookeeper的优化配置

env:
     - name: ZOO_DATA_LOG_DIR
       value: /var/lib/zookeeper/data/log
     - name: ZOO_DATA_DIR
       value: /var/lib/zookeeper/data
     - name: ZOO_PORT_NUMBER
       value: "2181"
     - name: ZOO_TICK_TIME
       value: "2000"
     - name: ZOO_INIT_LIMIT
       value: "10"
     - name: ZOO_SYNC_LIMIT
       value: "5"
     - name: ZOO_MAX_CLIENT_CNXNS
       value: "0"
     - name: ZOO_MAX_SESSION_TIMEOUT
       value: "400000"
     - name: ZOO_HEAP_SIZE
       value: "1024"
     - name: ZOO_LOG_LEVEL
       value: ERROR
     - name: ZOO_AUTOPURGE_INTERVAL
       value: "86400"
     - name: ZOO_ENABLE_AUTH
       value: "no"
     - name: ZOO_SERVER_PORT
       value: "2888"
     - name: ZOO_EELECTION_PORT
       value: "3888"
     - name: ALLOW_ANONYMOUS_LOGIN
       value: "yes"
     - name: ZOO_4LW_COMMANDS_WHITELIST
       value: '*'
     - name: ZOO_LISTEN_ALLIPS_ENABLED
       value: "no"
     - name: ZOO_AUTOPURGE_RETAIN_COUNT
       value: "3"
     - name: ZOO_SERVERS
       value: "3"

本文转载自: https://blog.csdn.net/qq_43753286/article/details/135760741
版权归原作者 嗄季啲陽咣992970148 所有, 如有侵权,请联系我们删除。

“zookeeper的优化配置”的评论:

还没有评论