kafka broker not available at starting

后端 未结 10 900
陌清茗
陌清茗 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:26

    I server.propertes:

    listeners=PLAINTEXT://hidden_ip:9092
    

    when I run:
    bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic lt1 bin/kafka-console-producer.sh --broker-list localhost:9092 --topic lt1
    I get same error just like you get.and I try run :

    bin/kafka-console-producer.sh --broker-list hidden_ip:9092 --topic lt1
    

    it work,I get no error.
    So i think you should check what's port kafka server used.This error when port is not esestablished or you connect wrong ip.
    PS:I run this on same machine.

提交回复
热议问题