[
https://issues.apache.org/jira/browse/ARTEMIS-5656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18019856#comment-18019856
]
ASF subversion and git services commented on ARTEMIS-5656:
----------------------------------------------------------
Commit 5729a7264b3296187bf844663fbec8bd1856c11b in activemq-artemis's branch
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=5729a7264b ]
ARTEMIS-5656 Prevent federation from creating self sustaining loops
Prevent a federation source from considering bindings from its target to be
demand that creates federation receivers in the opposite direction. This will
prevent self sustaining local and remote federation links that route messages
to the other side when there is no active consumer there to ever receive the
messages sent which creates unnecessary traffic.
> Prevent bi-directional AMQP Address Federation from creating unneeded links
> ---------------------------------------------------------------------------
>
> Key: ARTEMIS-5656
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5656
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: AMQP
> Affects Versions: 2.42.0
> Reporter: Timothy A. Bish
> Assignee: Timothy A. Bish
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.43.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> When bi-directional address federation is configured links from the opposing
> broker are treated as demand when they should generally not be since only
> non-federation consumers should cause creation of return links to the source
> broker. By preventing this artificial demand we can reduce the amount of
> sustained federation links that either can't send back to the source because
> we prevent loops or are sending to a remote that might have to actual local
> demand in more complex configuration like a hub and spoke topology.
--
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