jackdaw

https://github.com/FundingCircle/jackdaw
dharrigan 2020-06-17T10:10:20.059400Z

Say you have a consumer assigned to a parition and the consumer crashes, but the offset of the partition moves on (as data is being feed into the topic). If the consumer restarts, then seek to end will skip past all the messages that have been received in the meantime

dharrigan 2020-06-17T10:10:45.059900Z

How do you, in Jackdaw, say, go back to the current offset of the consumer group and resume from there?

2020-06-17T10:14:35.060500Z

If you don't seek then by default the consumer will start at the last committed offset.

2020-06-17T10:16:03.061Z

https://kafka.apache.org/25/javadoc/index.html?org/apache/kafka/clients/consumer/KafkaConsumer.html (see section titled "Offsets and Consumer Position")

dharrigan 2020-06-17T10:22:16.061400Z

ah right, so if seek is not defined, then it'll resume.

dharrigan 2020-06-17T10:22:20.061600Z

mucho gracious!

dharrigan 2020-06-17T10:25:10.062Z

perfect - working! thanks @cddr! 🙂

1💥