MapReduce服务 MRS-执行Kafka Topic创建操作时发现Partition的Leader显示为none:问题背景与现象

时间:2025-02-12 15:01:24

问题背景与现象

在使用Kafka客户端命令创建Topic时,发现创建Topic Partition的Leader显示为none。

[root@10-10-144-2 client]# kafka-topics.sh --create  --replication-factor 1 --partitions 2 --topic test --zookeeper 10.6.92.36:2181/kafkaCreated topic "test".

[root@10-10-144-2 client]# kafka-topics.sh --describe --zookeeper 10.6.92.36:2181/kafkaTopic:test      PartitionCount:2        ReplicationFactor:2     Configs:        Topic: test     Partition: 0    Leader: none       Replicas: 2,3   Isr:        Topic: test     Partition: 1    Leader: none       Replicas: 3,1   Isr:
support.huaweicloud.com/trouble-mrs/mrs_03_0139.html