kafka broker not available at starting

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

    If you are using Spring Boot, please see if the below property is set in application.properties file, assuming a producer application only:

    spring.kafka.producer.bootstrap-servers=localhost:9092
    

    Otherwise, the following should work in general:

    kafka.bootstrap.servers=localhost:9200
    

    I didn’t have to change listeners in the server.properties file, as others have proposed.

提交回复
热议问题