Kafka Consumer: No entry found for connection

后端 未结 6 2415
甜味超标
甜味超标 2021-02-05 12:24

I am trying to check the kafka consumer by consuming the data from a topic on a remote Kafka cluster. I am getting the following error when I use the kafka-console-consume

6条回答
  •  无人及你
    2021-02-05 13:00

    In my case I was receiving that while trying to connect to my Kafka container, I had to pass the following:

    -e KAFKA_LISTENERS=PLAINTEXT://0.0.0.0:9092

    -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://localhost:9092

    Hope it helps someone

提交回复
热议问题