随笔分类 -  zookeeper

摘要:转自:http://www.throwable.club/2018/12/16/zookeeper-curator-usage/ Zookeeper客户端Curator使用详解 前提 因为最近项目需要使用Zookeeper这个中间件,提前了解一下它的客户端Curator的使用。 简介 Curator 阅读全文
posted @ 2021-03-13 21:47 彬在俊 阅读(242) 评论(0) 推荐(0) 编辑
摘要:常用shell脚本操作命令 shell脚本在zookeeper安装根目录的bin/路径下。 启动zk : bin/zkServer.sh start 查看ZK服务状态: bin/zkServer.sh status 停止ZK服务: bin/zkServer.sh stop 重启ZK服务: bin/z 阅读全文
posted @ 2020-09-27 14:52 彬在俊 阅读(1381) 评论(0) 推荐(0) 编辑
摘要:在项目中使用到Apache Curator Framework连接Zookeeper 3.4.5服务器,使用的Curator Framework版本是4.3.0 <dependency> <groupId>org.apache.curator</groupId> <artifactId>curato 阅读全文
posted @ 2020-09-27 14:15 彬在俊 阅读(875) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示