[英]Command to list all the topics from Kafka Version 0.8.1
I am looking to list all the topics from kafka 我想列出kafka的所有主题
Seems like in 0.8 version there was kafka-list-topics.sh ( How to get topic list from kafka server in Java ) 似乎在0.8版本中有kafka-list-topics.sh( 如何从Java中的kafka服务器获取主题列表 )
However I am not able to find the same in 0.8.1. 但是我无法在0.8.1中找到相同的内容。 https://github.com/apache/kafka/blob/0.8.1/bin
https://github.com/apache/kafka/blob/0.8.1/bin
Any pointer would be appreciated 任何指针将不胜感激
I got it 我知道了
in 0.8 it was 在0.8中
./kafka-list-topics.sh --zookeeper localhost:9200 ./kafka-list-topics.sh --zookeeper本地主机:9200
in 0.8.1+ it is 在0.8.1+中是
./kafka-topics.sh --list --zookeeper localhost:9200 ./kafka-topics.sh --list --zookeeper本地主机:9200
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.