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
原文地址:https://www.cnblogs.com/tonggc1668/p/10444021.html
时间: 2024-10-06 08:39:22