Resetting offset for partition does not work
I have a topic "oranges" with 10 partitions, 2 consumers within 1 consumer group. I am using Spring Kafka. I need to re-read the data from time to time, and I need to reset the offsets. My listener implement ConsumerSeekAware and in the onPartitionsAssigned() I simply call callback#seekToBeginning. This works fine as in the log I see messages from Kafka Client API (2.3.1) saying: Resetting offset for partition oranges-X to offset 0. This happens for all partitions fine. However, effectively only the last partition is reset (9) and from time to time, if I get lucky the second one (1) too. All o
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.