Handling rebalances adequately is key to avoiding second processing of message records in Apache Kafka.
In this Kafka Tutorial session, We will cover two things.
1. How to commit a particular Offset?
2. How to create a rebalance listener?
Link to Source Code
--------------------------------------
https://github.com/LearningJournal/ApacheKafkaTutorials/tree/master/ConsumerExample
آی-ویدئو