[
https://issues.apache.org/jira/browse/ARTEMIS-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17927157#comment-17927157
]
ASF subversion and git services commented on ARTEMIS-5304:
----------------------------------------------------------
Commit 272298fe825de386def58d3a7b9b1e77c54b9139 in activemq-artemis's branch
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=272298fe82 ]
ARTEMIS-5304 Allow delayed close of federation consumers
When demand is removed from a federation consumer and the AMQP link is
drained allow the consumer to idle for a configurable time period before
closing the link. If demand returns before the idled link is closed we
can recover the link by simply granting more credit.
> Allow AMQP Federation consumer to idle for a period of time when demand is
> removed
> ----------------------------------------------------------------------------------
>
> Key: ARTEMIS-5304
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5304
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: AMQP
> Affects Versions: 2.39.0
> Reporter: Timothy A. Bish
> Assignee: Timothy A. Bish
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.40.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> When demand is removed from a tracked address or queue the AMQP federation
> instance will drain the receiver link and then close it which can lead of
> attach / detach of receiver links in cases where the receiver that generated
> the demand comes back quickly. This can happen based on the framework in use
> by the application or from spotty networks. We should idle the consumer for
> some period of time before closing after we drain the link credit to allow
> for quick recovery by simply granting a new batch of credit.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact