You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Ashish Chopra (Jira)" <ji...@apache.org> on 2019/12/04 07:21:00 UTC
[jira] [Updated] (SLING-8853) Develop an Active variant of
ResourceQueue and make it available as possible queue.provider for
ForwardDistributionAgentFactory
[ https://issues.apache.org/jira/browse/SLING-8853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashish Chopra updated SLING-8853:
---------------------------------
Description:
Via SLING-7754, a [JCR Resource-backed queue|https://github.com/apache/sling-org-apache-sling-distribution-core/blob/master/src/main/java/org/apache/sling/distribution/queue/impl/resource/ResourceQueue.java] [0] implementation was developed for usecases where a queue processor wasn't required, {{ResourceQueue}} implementation is currently {{PASSIVE}}.
Given above, it is not possible to leverage {{ResourceQueue}} as a [{{queue.provider}} for {{DistributionAgents}} created via {{ForwardDistributionAgentFactory}}|https://github.com/apache/sling-org-apache-sling-distribution-core/blob/deb3d2ae33c4f4678c8503091a9fffdbb141e569/src/main/java/org/apache/sling/distribution/agent/impl/ForwardDistributionAgentFactory.java#L171-L178] [1].
This issue aims to add an "Active" variant of Resource backed queues and provide it as an option for {{ForwardDistributionAgentFactory}}.
[0] https://github.com/apache/sling-org-apache-sling-distribution-core/blob/master/src/main/java/org/apache/sling/distribution/queue/impl/resource/ResourceQueue.java
[1] https://github.com/apache/sling-org-apache-sling-distribution-core/blob/deb3d2ae33c4f4678c8503091a9fffdbb141e569/src/main/java/org/apache/sling/distribution/agent/impl/ForwardDistributionAgentFactory.java#L171-L178
was:
Via SLING-7754, a JCR Resource-backed queue [0] implementation was developed for usecases where a queue processor wasn't required, {{ResourceQueue}} implementation is currently {{PASSIVE}}.
Given above, it is not possible to leverage {{ResourceQueue}} as a {{queue.provider}} for {{DistributionAgents}} created via {{ForwardDistributionAgentFactory}} [1].
This issue aims to add an "Active" variant of Resource backed queues and provide it as an option for {{ForwardDistributionAgentFactory}}.
[0] https://github.com/apache/sling-org-apache-sling-distribution-core/blob/master/src/main/java/org/apache/sling/distribution/queue/impl/resource/ResourceQueue.java
[1] https://github.com/apache/sling-org-apache-sling-distribution-core/blob/deb3d2ae33c4f4678c8503091a9fffdbb141e569/src/main/java/org/apache/sling/distribution/agent/impl/ForwardDistributionAgentFactory.java#L171-L178
> Develop an Active variant of ResourceQueue and make it available as possible queue.provider for ForwardDistributionAgentFactory
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: SLING-8853
> URL: https://issues.apache.org/jira/browse/SLING-8853
> Project: Sling
> Issue Type: Improvement
> Components: Content Distribution
> Reporter: Ashish Chopra
> Assignee: Timothee Maret
> Priority: Major
> Fix For: Content Distribution Core 0.4.2
>
> Attachments: 0001-SLING-8853-Adds-ActiveResourceQueue-and-makes-it-ava.patch, 0003-SLING-8853-SLING-8854-enabling-ActiveResourceQueue-t.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Via SLING-7754, a [JCR Resource-backed queue|https://github.com/apache/sling-org-apache-sling-distribution-core/blob/master/src/main/java/org/apache/sling/distribution/queue/impl/resource/ResourceQueue.java] [0] implementation was developed for usecases where a queue processor wasn't required, {{ResourceQueue}} implementation is currently {{PASSIVE}}.
> Given above, it is not possible to leverage {{ResourceQueue}} as a [{{queue.provider}} for {{DistributionAgents}} created via {{ForwardDistributionAgentFactory}}|https://github.com/apache/sling-org-apache-sling-distribution-core/blob/deb3d2ae33c4f4678c8503091a9fffdbb141e569/src/main/java/org/apache/sling/distribution/agent/impl/ForwardDistributionAgentFactory.java#L171-L178] [1].
> This issue aims to add an "Active" variant of Resource backed queues and provide it as an option for {{ForwardDistributionAgentFactory}}.
> [0] https://github.com/apache/sling-org-apache-sling-distribution-core/blob/master/src/main/java/org/apache/sling/distribution/queue/impl/resource/ResourceQueue.java
> [1] https://github.com/apache/sling-org-apache-sling-distribution-core/blob/deb3d2ae33c4f4678c8503091a9fffdbb141e569/src/main/java/org/apache/sling/distribution/agent/impl/ForwardDistributionAgentFactory.java#L171-L178
--
This message was sent by Atlassian Jira
(v8.3.4#803005)