I want to reset the previous offset corresponding to a given consumer.
Reason: The spring-boot consumer code I wrote my application on was using "earliest" as value for the auto-offset-reset. Since the offset has got stored in __consumer_offsets now, changing the value for auto-offset-reset to latest doesn't work.
Note: I am using kafka version higher than 0.9. Not sure if deleting the consumer will help as I came to know that the offsets are now stored in a topic __consumer_offsets.
KafkaConsumer.seek
to reset the offset for the given partitions. Is that what you want? – amethystic