部分操作在kafka集群安装中。
查看topic信息
查看所有topic
kafka-topics.sh --describe --zookeeper h2m1:2181
查看指定的topic,可以是多个topic,用逗号分隔。
kafka-topics.sh --describe --zookeeper h2m1:2181 --topic test2,test
部分操作在kafka集群安装中。
查看所有topic
kafka-topics.sh --describe --zookeeper h2m1:2181
查看指定的topic,可以是多个topic,用逗号分隔。
kafka-topics.sh --describe --zookeeper h2m1:2181 --topic test2,test