【发布时间】:2020-10-26 17:21:10
【问题描述】:
假设我们有一个三节点 kafka 集群,并且在创建主题时只有两个节点处于活动状态。之后,如果我们将第三个节点带回来,它将能够赶上这个新创建的主题的所有数据。在第三个节点出现后,我尝试关闭另外两个节点,当我描述第三个节点没有充当分区的领导者时。
Topic: test PartitionCount: 6 ReplicationFactor: 2 Configs: segment.bytes=1073741824
Topic: test Partition: 0 Leader: none Replicas: 0,1 Isr: 0
Topic: test Partition: 1 Leader: none Replicas: 1,0 Isr: 0
Topic: test Partition: 2 Leader: none Replicas: 0,1 Isr: 0
Topic: test Partition: 3 Leader: none Replicas: 1,0 Isr: 0
Topic: test Partition: 4 Leader: none Replicas: 0,1 Isr: 0
Topic: test Partition: 5 Leader: none Replicas: 1,0 Isr: 0
它没有显示?
【问题讨论】:
标签: apache-kafka apache-zookeeper