Hi, I'm trying to better understand agent instances created via QueueDistributionAgentFactory [0], and the Resource-backed queues they leverage [1]. The Sling issue through which this implementation was added makes a mention of Active and Passive queues (as defined as [2]), with [1] being a Passive queue primarily useful for Reverse Distribution.
I hope to be able to leverage Resource-backed queues for forward-distribution scenarios, but currently it is not possible (given [1] and [2]). I'm working to understand existing "active" queue impls in sling-dist-core bundle [3] to have a better sense of what would it take to develop an "active" variant of ResourceQueue impl. I have a few queries on the topic above: * is there any documentation (beyond [2], that is) which explains the concept of Passive and Active queues (in context of SCD) in more detail? * is there any background information on why ResourceQueue impl [1] is currently Passive? i.e., was it due to any known limitations, or a case of YAGNI? I read through SLING-7754 and searched the archives, but couldn't get any pointers. Would be great if the community can help me discover more information on this topic. Thanks Ashish [0] https://github.com/apache/sling-org-apache-sling-distribution-core/blob/master/src/main/java/org/apache/sling/distribution/agent/impl/QueueDistributionAgentFactory.java [1] https://github.com/apache/sling-org-apache-sling-distribution-core/blob/master/src/main/java/org/apache/sling/distribution/queue/impl/resource/ResourceQueue.java [2] https://issues.apache.org/jira/browse/SLING-7754?focusedCommentId=16522146 [3] https://github.com/apache/sling-org-apache-sling-distribution-core/blob/deb3d2ae/src/main/java/org/apache/sling/distribution/agent/impl/ForwardDistributionAgentFactory.java#L171-L177
