Need ability to seek to the beginning of a partition
We need the option to read from the beginning of a partition. Something along the lines of https://stackoverflow.com/questions/49723182/kafka-consumer-seektobeginning but the parallel consumer does not expose seekToBeginning() or assignment(). Is it possible to expose these or provide an overall wrapper for seekToBeginning()?
Blocked by:
- #346
This should be achievable from the following workaround:
- shutdown PC
- use the raw consumer to seek the raw consumer
- rebuild pc with the same consumer
- pc will start receiving records from wherever underlying consumer starts from
@astubbs I can't figure out how to implement this workaround. Please provide a working example.
FYI this is being implemented here: https://github.com/astubbs/parallel-consumer/tree/features/consumer-interface
You can try out the consumer interface branch now if you like - it works, and has been used in some experimental tests in other branches.
- #346
Closing Issue