Leader brokers without a matching listener error in kafka

后端 未结 7 2133
北荒
北荒 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:07

    I had this issue while running Kafka in a docker container.

    The following solution helped to resolve the issue.

    As mentioned by @coldkreap in the comment of this answer: https://stackoverflow.com/a/58067985/327862

    The kafka broker information is kept between restarts because the wurstmeister/kafka image creates a volume named 'kafka'. If you run docker volume ls you will see a kafka volume. Remove that volume and you will be able to recreate topics, etc.

    If using docker-compose, you can run the following command to remove containers along with their associated volumes:

    docker-compose down -v
    

    OR

    docker-compose rm -sv
    

提交回复
热议问题