Simple Kafka Consumer not receiving messages

后端 未结 6 2269
萌比男神i
萌比男神i 2021-02-09 15:20

I am a newbie to Kafka and running a simple kafka consumer/producer example as given on KafkaConsumer and KafkaProducer. When I am running consumer from terminal, consumer is re

6条回答
  •  醉酒成梦
    2021-02-09 16:10

    I faced this issue with latest release of kafka kafka_2.13-2.6.0.tgz (asc, sha512) when installed locally on windows 7. Messages were not flowing from producer to consumer. Checked and found that Consumer offset topic was not created not sure why.

    Installed earlier version of Kakfa kafka_2.12-2.5.0.tgz and it started working. Consumer offset topic was created with the old version

提交回复
热议问题