I am new to kafka and trying to figure out if there is a way to read messages from the last offset consumed, but not from the beginning.
I am writing an example so that my intention will not be diverted.
Eg: 1) I produced 5 messages at 7:00 PM and console consumer consumed those. 2) I stopped consumer at 7:10 PM 3) I produced 10 message at 7:20 PM. No consumer had read those messages. 4) Now, i have started console consumer at 7:30 PM, without from-beginning. 5) Now, it Will read the messages produced after it has started. Not the earlier ones, which were produced at 7.20 PM
Is there a way to get messages received from the last offset consumed.?
Srini source share