查看zookeeper中kafka元数据
shell命令行:cd /opt/cloudera/parcels/CDH/lib/zookeeper/bin./zkCli.sh -server hadoop01:2181zookeeper命令行:ls /brokers/topicsquit
·
shell命令行:
cd /opt/cloudera/parcels/CDH/lib/zookeeper/bin
./zkCli.sh -server hadoop01:2181
zookeeper命令行:
ls /brokers/topics
quit
查看kafka信息
kafka-topics --describe --zookeeper 10.122.17.129:2181 --topic topic1
/opt/cloudera/parcels/KAFKA/lib/kafka/bin
kafka-console-consumer.sh --zookeeper hadoop01:2181 --topic stream_test01
更多推荐
已为社区贡献6条内容
所有评论(0)