Christian Schneider created SLING-12177:
-------------------------------------------

             Summary: Status poller is created once per agent but should only 
be created once
                 Key: SLING-12177
                 URL: https://issues.apache.org/jira/browse/SLING-12177
             Project: Sling
          Issue Type: Bug
          Components: Content Distribution
            Reporter: Christian Schneider
            Assignee: Christian Schneider
             Fix For: Content Distribution Journal Core 0.3.0


We are creating the status poller once per distribution agent:

[https://github.com/apache/sling-org-apache-sling-distribution-journal/blob/0e38eb8dc91008f70c5ea64b4e1906afdc7dfda5/src/main/java/org/apache/sling/distribution/journal/impl/publisher/DistributionPublisher.java#L170]

This causes a lot of stress on the system as we also read the topic from 
earliest. 

So if we have 4 agents we read all status messages 4 times which can be 
considerable data.



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

Reply via email to