I have switched off auto commit and not committing offset also from consumer after reading.
Checked consumer lag is also remaining same, it ensures that offset is not getting committed. But the problem is, it is consuming next msg not the same message again.
How can I keep reading same message again and again. I should be able to read next message only if previous offset has been committed. Please help me here doing this.