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

相关文章:

  • 2021-11-11
  • 2022-12-23
  • 2022-02-27
  • 2021-11-18
  • 2021-11-27
  • 2021-06-13
  • 2021-07-11
猜你喜欢
  • 2021-09-08
  • 2022-12-23
  • 2021-11-10
  • 2022-01-22
  • 2021-12-01
  • 2021-06-24
相关资源
相似解决方案