I am getting deserialization exception while consuming data from Kafka topic. I want to set the offset to current +1. I have an error handler at container level which takes exception, consumer record and consumer objects in argument. In the exception message I can see the topic, partition and offset. But consumer record is null. How can I get topic, partition and offset?
Please help.