Remember, we can’t have two or more instances of KafkaConsumer belonging to the same consumer group operate within the same thread. Similarly, we can’t have two threads use the same instance of KafkaConsumer. Always use one consumer per thread.
Popularity
8/10 Helpfulness
1/10
Language whatever
Register to vote on and add code examples. Join our developer community to improve your dev skills and code like a boss!
No Good?
Help us improve our code examples by registering to vote on and add answers. Join our developer community to improve your dev skills and code like a boss!