You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by "jbertram (via GitHub)" <gi...@apache.org> on 2023/02/10 19:48:46 UTC

[GitHub] [activemq-artemis] jbertram opened a new pull request, #4365: ARTEMIS-4162 support deleting addresses & queues w/o usage check

jbertram opened a new pull request, #4365:
URL: https://github.com/apache/activemq-artemis/pull/4365

   There are certain use-cases where addresses will be auto-created and never have a direct binding created on them. Because of this they will never be auto-deleted. If a large number of these addresses build up they will consume a problematic amount of heap space.
   
   One specific example of this use-case is an MQTT subscriber with a wild-card subscription and a large number of MQTT producers sending one or two messages a large number of different MQTT topics covered by the wild-card. Since no bindings are ever created on any of these individual addresses (e.g. from a subscription queue) they will never be auto-deleted, but they will eventually consume a large amount of heap. The only way to deal with these addresses is to manually delete them.
   
   There are also situations  where queues may be created and never have any messages sent to them or never have a consumer connect. These queues will never be auto-deleted so they must be deleted manually.
   
   This commit adds the ability to configure the broker to skip the usage check so that these kinds of addresses and queues can be deleted automatically.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [activemq-artemis] jbertram merged pull request #4365: ARTEMIS-4162 support deleting addresses & queues w/o usage check

Posted by "jbertram (via GitHub)" <gi...@apache.org>.
jbertram merged PR #4365:
URL: https://github.com/apache/activemq-artemis/pull/4365


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org