Reputation: 3209
How to fix the issue of corrupt offsets, and how to manually reset the offset of consumer to read again?
I am not sure how to do it manually in the code.
Upvotes: 0
Views: 1459
Reputation: 1561
You can set position of the consumer manually by calling KafkaConsumer.seek(TopicPartition partition, long offset
) method.
Upvotes: 1