You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Christian Schneider (Jira)" <ji...@apache.org> on 2023/06/29 13:06:00 UTC

[jira] [Resolved] (SLING-11914) Accept initial offset via PingMessage

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

Christian Schneider resolved SLING-11914.
-----------------------------------------
    Resolution: Fixed

> Accept initial offset via PingMessage
> -------------------------------------
>
>                 Key: SLING-11914
>                 URL: https://issues.apache.org/jira/browse/SLING-11914
>             Project: Sling
>          Issue Type: Improvement
>          Components: Content Distribution
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>            Priority: Major
>
> When DistributionSubscriber does not yet have a stored offset it is in a problematic state.
> When a package message is sent and DistributionSubscriber starts late or restarts it might miss the message.
> This issue aim to improve the situation by accepting offsets via ping messages. The messaging provider can send such a message immediately when the poller is created to inform subscriber about the current offset on the topic. This offset is then written to repository.
> From this point in time the timing problem is solved. No message after the stored offset can be lost.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)