kafka broker not available at starting

后端 未结 10 910
陌清茗
陌清茗 2020-12-28 14:33

I set on a ubuntu node of a cluster a kafka 0.11.0.0 instance. Until some weeks ago everything worked fine, today I\'m trying to starting it and I obtain this error after th

10条回答
  •  庸人自扰
    2020-12-28 15:22

    We faced the same situation, when we started to search the logs for the actual cause of the error.

    When we were starting the Kafka cluster, it was using by default

    listeners=PLAINTEXT://:9092
    

    to connect and was not able to find the host.

    We changed the line to

    listeners=PLAINTEXT:// :9092,
    

    then

    listeners=PLAINTEXT:// :9093, 
    

    in our server-1.properties ( another broker id file ) and the same we replicated in other server.properties file and restarted our cluster.

提交回复
热议问题