Christian Schneider created SLING-11028:
-------------------------------------------

             Summary: Support relative offsets
                 Key: SLING-11028
                 URL: https://issues.apache.org/jira/browse/SLING-11028
             Project: Sling
          Issue Type: Improvement
          Components: Content Distribution
    Affects Versions: Content Distribution Journal Messages 0.3.0
            Reporter: Christian Schneider
            Assignee: Christian Schneider
             Fix For: Content Distribution Journal Messages 0.3.2


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)

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to