[ 
https://issues.apache.org/jira/browse/SLING-9460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17114771#comment-17114771
 ] 

Timothee Maret commented on SLING-9460:
---------------------------------------

[~cschneider] PR 
[#28|https://github.com/apache/sling-org-apache-sling-distribution-journal/pull/28]
 LGTM after the offset fix. Would you merge it ?

> Avoid seeding messages in PubQueueCache
> ---------------------------------------
>
>                 Key: SLING-9460
>                 URL: https://issues.apache.org/jira/browse/SLING-9460
>             Project: Sling
>          Issue Type: Improvement
>          Components: Content Distribution
>    Affects Versions: Content Distribution Journal Core 0.1.10
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>            Priority: Major
>             Fix For: Content Distribution Journal Core 0.1.12
>
>
> We seed the cache to make sure we have a known minimal offset. So when a 
> request for an older package comes in we can create an additional consumer 
> that can then stop when it reaches the minimal offset.
> Instead of seeding we could wait until we receive the first discovery 
> message. Then we can start from this offset. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to