activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher L. Shannon (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (AMQ-8349) Virtual destination consumer advisory messages are inadvertently replayed to all existing advisory consumers
Date Thu, 05 Aug 2021 14:00:18 GMT

     [ https://issues.apache.org/jira/browse/AMQ-8349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christopher L. Shannon resolved AMQ-8349.
-----------------------------------------
    Resolution: Fixed

> Virtual destination consumer advisory messages are inadvertently replayed to all existing
advisory consumers
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-8349
>                 URL: https://issues.apache.org/jira/browse/AMQ-8349
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker, Network of Brokers
>    Affects Versions: 5.16.2
>            Reporter: Christopher L. Shannon
>            Assignee: Christopher L. Shannon
>            Priority: Major
>             Fix For: 5.17.0, 5.16.3
>
>
> In order to support AMQ-6027 new Virtual destination consumer advisories were created
so that demand could be dynamically created due to composite destination creation across a
bridge.
> When setting up a broker with several bridges I noticed that the virtual destination
consumer advisory messages sent were quite high. I dug into it and it turns out that the issue
was that on replay of the advisories when a bridge connected the messages are being inadvertently
sent to all the existing advisory consumers again and not just the new consumer.
> What should happen is when a new bridge connects it will create a consumer on the virtual
destination consumer topic and any advisories that were previously sent should be sent to
ONLY that consumer. Existing consumers (usually bridge consumers) already received them so
there's no reason to send them again as it causes a ton of extra traffic.
> This is how things work already for existing replay of other advisories but was simply
missed when adding this feature and is a 1 line fix.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message