Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Content Distribution Journal Messages 0.3.0
-
None
Description
In some cases it is necessary to specify the offset to start from not absolutely but relative to earliest or latest of the topic partition.
This change introduces MessagingProvider.assignTo(Reset reset, long relativeOffset). This for example allows to start by rereading the latest message using:
assignTo(Reset.latest, -1)