你的 --topic 到底 是test 还是 nihao ? 只能跟一个参数的
我的也是没有leader,这种情况是怎么解决的??
./bin/kafka-topics.sh --zookeeper zk1.node:12181,zk2.node:12181,zk3.node:12181 --describe --topic test05
Topic:test05 PartitionCount:3 ReplicationFactor:3 Configs:
Topic: test05 Partition: 0 Leader: none Replicas: 2,1,0 Isr:
Topic: test05 Partition: 1 Leader: none Replicas: 0,2,1 Isr:
Topic: test05 Partition: 2 Leader: none Replicas: 1,0,2 Isr: