[ 
https://issues.apache.org/jira/browse/SLING-11028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Schneider updated SLING-11028:
----------------------------------------
    Fix Version/s: Content Distribution Journal Kafka 0.2.2

> 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
>            Priority: Major
>             Fix For: Content Distribution Journal Kafka 0.2.2, 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