Say my spring consumer program went down I want to consume data from the time it went down. Is there any way to store the timestamp or the offset at that point and continue from there.
Kindly help, Thanks in advance .
Say my spring consumer program went down I want to consume data from the time it went down. Is there any way to store the timestamp or the offset at that point and continue from there.
Kindly help, Thanks in advance .
Ensure 3 things:
group-id
should be same between restartsauto.offset.reset
should be set as latest
offsets.retention.minutes
should be well defined. Read THIS for more details for it.Kafka-Docs for reference