Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11914

Accept initial offset via OffsetMessage

    XMLWordPrintableJSON

Details

    Description

      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 OffsetMessage. 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.

      Attachments

        Issue Links

          Activity

            People

              cschneider Christian Schneider
              cschneider Christian Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: