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