sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothee Maret (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SLING-8853) Develop an Active variant of ResourceQueue and make it available as possible queue.provider for ForwardDistributionAgentFactory
Date Fri, 20 Dec 2019 12:42:00 GMT

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

Timothee Maret commented on SLING-8853:
---------------------------------------

Thanks [~ashishc] and [~mohiaror]! I have merged [#24|https://github.com/apache/sling-org-apache-sling-distribution-core/pull/24]
and adjusted it slightly to fit with [#26|https://github.com/apache/sling-org-apache-sling-distribution-core/pull/26]
from SLING-8854.

> 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: 20m
>  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)

Mime
View raw message