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

Christian Schneider commented on SLING-9465:
--------------------------------------------

I created a proposal at 
[https://github.com/apache/sling-org-apache-sling-distribution-journal/pull/35] 
.

It uses a component that depends on the config and publishes a marker service. 
The component we want to control like DiscoveryService then reference the 
marker service. This makes them come up when the first marker service is 
published and also avoids that they are create multiple time like it would be 
the case by directly depending on the config.

> DiscoveryService is activated on all services
> ---------------------------------------------
>
>                 Key: SLING-9465
>                 URL: https://issues.apache.org/jira/browse/SLING-9465
>             Project: Sling
>          Issue Type: Bug
>          Components: Content Distribution
>            Reporter: Timothee Maret
>            Assignee: Timothee Maret
>            Priority: Major
>             Fix For: Content Distribution Journal Core 0.1.12
>
>
> The DiscoveryService service is only required on services running the 
> DistributionPublisher agents. The DiscoveryServices consumes resources 
> (connections, data volume) which should be avoided.



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

Reply via email to