Hi, You can check Consumer Api https://kafka.apache.org/10/javadoc/?org/apache/kafka/clients/consumer/KafkaConsumer.html . Refer : Manual Offset Control
--Senthil On Sat, May 25, 2019, 9:53 AM ASHOK MACHERLA <iash...@outlook.com> wrote: > Dear Hans > > Thanks for you reply > > As you said we are getting same issue, our consumers some times goes to > rebalance mode, during this time customer getting duplicate emails. > > So, How to set manual commit offsets?? > > Is there any parameters to add for that. > Please reply this email > > Sent from Outlook >