`

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
分享到:
评论

相关推荐

    zookeeper.tar.gz

    zookeeper配置样例,已在生产环境中使用

    Kafka集群配置样例_3节点_源码

    经过Linux上配置测试。3节点集群。重点看一下config目录下server.properties文件的zookeeper.connect配置

    ZooKeeper安装部署

    3. 在每个Zookeeper节点上,需要编辑Zookeeper配置文件。复制样例配置文件zoo_sample.cfg一份,并命名为zoo.cfg,然后在zoo.cfg中修改自己的配置。 4. 在每个节点上创建zkdata和zkdatalog文件夹。 5. 设置...

    基于spark的电商用户行为分析系统源码+项目说明.zip

    conf:配置工具类,获取commerce.properties文件中的所有配置信息, 使用户可以通过对象的方式访问commerce.properties中的所有配置 constant:常量接口,包括项目中所需要使用的所有常量 model: Spark SQL样例类,...

    kafka-sample-programs:Kafka 0.9 API的示例程序

    Kafka 0.9 API的样例程序该项目提供了一个简单但现实的卡夫卡生产者和消费者的例子。 这些程序以一种样式和一个比例尺编写,使您可以对其进行调整以使它们接近... Kafka具有内置的单节点Zookeeper配置。 $ bin/zookeep

    SpringAll_wuyouzhuguli.tar.gz

    Spring Boot WebFlux增删改查样例 二、Spring Boot & Shiro教程 Spring Boot Shiro用户认证 Spring Boot Shiro Remember Me Spring Boot Shiro权限控制 Spring Boot Shiro Redis Spring Boot Shiro Ehcache Spring ...

    spring-cloud

    但是,其服务器端使用了Nginx, Tomcat, MySQL, Zookeeper和Nginx,安装部署起来比较复杂;客户端也引入了不少的Jar包,可能引起版本冲突。因此,笔者也在留意是否有其它的可选方案。最近接触到Spring Cloud Config,...

    可以直接运行的基于SpringMVC的web框架示例,也可以直接当公司框架

    首页修改 dateformat.js 时间参数转换 SpringMVC配置文件集中 快递参数接口 1.1.4 des加解密字符串和文件 1.1.5 redis 加锁,redis升级成2.8.2 freemarker工具类 1.1.6 spring websocket 实现在线聊天 maven升级...

    阿里分布式开源框架DUBBO视频-dubbo入门.zip

    第01节使用Dubbo对传统工程进行服务化改造的思路介绍--(带样例工程源码) 第02节使用Dubbo对传统工程进行服务化改造 第03节ZooKeeper注册中心安装 第04节使用Dubbo对传统工程进行服务化改造后的服务调用测试--(含...

Global site tag (gtag.js) - Google Analytics