Reputation: 850
I have messages coming in from Kafka. So I am planning to write a listener and "onMessage". I want to process it and push it in to solr
.
So my question is more architectural, like I have worked on web apps all my career, so in big data how to deploy the spring kafka
listener, so I can process thousands of messages a second.
SpringBoot
application to run in
a tomcat container.Upvotes: 1
Views: 144
Reputation: 4532
If you use the same group id for all instances, different partitions will be assigned to different consumers (instances of your application).
So, be sure that you specified enough partitions in the topic you are going to consume.
Upvotes: 1