Leader brokers without a matching listener error in kafka

后端 未结 7 2136
北荒
北荒 2021-02-05 15:38

What is the meaning of this kafka error ?

[2018-08-22 11:40:49,429] WARN [Consumer clientId=consumer-1, groupId=console-consumer-62114] 1 partitions hav

7条回答
  •  无人共我
    2021-02-05 16:10

    In my case, i was getting this error when i was testing Kafka fail-over. I brought down 1 Kafka, and expected the message to be written to the other Kafka.

    The issue was that topic replication-factor was set to 1, when i needed to set it to 2. (2 Kafka instances)

    Bonus:
    Check out the directories where the topics are created(in my case: kafka-logs-xx) for both Kafka, and you will understand why :-)

提交回复
热议问题