Improvments to handling 'offsetOutOfRange' errors.
CHANGES
- fetchEarliestOffsets() & fetchLatestOffsets() called sequentially, one after the other. Before, due to asynch handling of callbacks it was not guaranteed.
- update locally stored offset for given (topic/partition) after offset is set for kafka consumer in 'offsetOutOfRange' handler
- improved logging for offset handling
Edited by Bogdan Tabor