首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

ZooKeeper配备样例

2012-06-30 
ZooKeeper配置样例位置:zookeeper安装目录下/conf/zoo.cfg配置样例# The number of milliseconds of each

ZooKeeper配置样例
位置:
zookeeper安装目录下/conf/zoo.cfg

配置样例
# 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
#client max links
maxClientCnxns=1000
# the directory where the snapshot is stored.
dataDir=/to/data/dir
dataLogDir=/to/log/dir
# the port at which the clients will connect
clientPort=2181
#multiple zookeeper server ,need set and put the myid(only #contains servier id) file to dataDir
#server.0=localhost:2888:3888

热点排行