zookeeper 配置文件【zoo_sample.cfg】详解
1、tickTime:这个时间是作为 Zookeeper 服务器之间或客户端与服务器之间维持心跳的时间间隔,也就是每个 tickTime 时间就会发送一个心跳。# The number of milliseconds of each ticktickTime=20002、initLimit:这个配置项是用来配置 Zookeeper 接受客户端(这里所说的客户端不是用户连接 Zookeeper 服务器的客户端,而是 Zookeeper 服务器集群中连接到 Leader 的 Follower 服务器
原创
2020-12-01 16:53:52 ·
890 阅读 ·
0 评论