For manually acknowledging the kafka messages you need to do the following:
1> Implement ConsumerSeekAware iterface
2> Make consumer property auto-commit as false
3> Set acknowledgement property as Acknowledgement.MANUAL_IMMEDIATE
Once you got the message after processing it you can manually acknowledge it by acknowledgment.acknowledge()
Hope this help.