码迷,mamicode.com
首页 > 系统相关 > 详细

使用kafka bin目录中的zookeeper-shell.sh来查看kafka在zookeeper中的配置

时间:2019-02-27 15:52:57      阅读:493      评论:0      收藏:0      [点我收藏+]

标签:com   nbsp   tps   zook   code   bash   http   cal   配置   

cd kafka_2.11-0.10.2.1\bin\windows
echo ls /brokers/ids |  zookeeper-shell.bat localhost:2181

 

使用kafka bin目录中的zookeeper-shell.sh来查看kafka在zookeeper中的配置。

连接zookeeper:

bin/zookeeper-shell.sh 127.0.0.1:2181

https://my.oschina.net/tongyufu/blog/1806196

https://chengjianxiaoxue.iteye.com/blog/2190488

使用kafka bin目录中的zookeeper-shell.sh来查看kafka在zookeeper中的配置

标签:com   nbsp   tps   zook   code   bash   http   cal   配置   

原文地址:https://www.cnblogs.com/tonggc1668/p/10444021.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!