kafka broker not available at starting

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

    With spring-boot, kafka (image: spotify/kafka) and docker-compose combination, you might need to set below property in project:

    broker-addresses: :9092
    

    Also, the services in docker-compose need to have environment property configured as below,

    KAFKA_BOOTSTRAP_SERVERS: :9092
    

    Hope this might helps someone.

提交回复
热议问题