spring-boot-kafka-consumer-example icon indicating copy to clipboard operation
spring-boot-kafka-consumer-example copied to clipboard

Unable to cosume messages

Open satbbus opened this issue 5 years ago • 4 comments

Exactly followed your steps but unable to see any consumed messages

satbbus avatar Apr 27 '20 12:04 satbbus

@satbbus can you send SS of problem or describe the error in detail, please ?

ramazansakin avatar Jul 27 '20 07:07 ramazansakin

I have same issue. There is no error but also no consumed messages . I checked all properties configuration according to my kafka settings. Do you have any idea what is the problem ? @ramazansakin

kbra95 avatar Jul 28 '20 08:07 kbra95

@kbra95 and @satbbus did you create topics before consuming ? and you can list the topics on gitbash or cmd:

In Win, .sh -> .bat

  • bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic Kafka_Example

ramazansakin avatar Jul 29 '20 13:07 ramazansakin

Hi again after long time :) . I realized that I can make some changes on the repo, and I did and created PR. Until merged, you can check this out! https://github.com/ramazansakin/spring-boot-kafka-consumer-example

ramazansakin avatar Jul 29 '22 13:07 ramazansakin