I need help to understand consumers without autowire in spring
It's in kotlin. I am beginner in kafka
I can read my kafka message very well with Autowired annotation but on trying to manually create I am getting 0 message .
Code description :
I call val prop=new Properties()
prop.put()
bootstrap server , key-value deserialiser ,schema url
create
consumer = new consumer(props)
then subscribe to topic and poll gives 0 count
but on autowire it gives count
Values are sent during test itself so,that can't be issue
I want to know if manual needs consumwr factory something
1 Reply
⌛
This post has been reserved for your question.
Hey @CJ__47! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.