Containerized Kafka client errors when producing messages to the host Kafka server

前端 未结 3 1241
梦谈多话
梦谈多话 2020-12-09 20:13

There are a number of similar types of queries on stackoverflow, but none quite match the problem that I am seeing.

I have a zookeeper/kafka setup on my server which

3条回答
  •  Happy的楠姐
    2020-12-09 20:36

    Aha! After further reading and the answers given above the solution came. As is often the case it is an easy one. A simple edit of the kafka server.properties file:

    advertised.listeners=PLAINTEXT://192.168.2.80:9092
    

    Also note, the parameter 'listeners' is not set in this file.

提交回复
热议问题