Erwin Dondorp created ARTEMIS-4688:
--------------------------------------
Summary: add idle subscription removal after timeout
Key: ARTEMIS-4688
URL: https://issues.apache.org/jira/browse/ARTEMIS-4688
Project: ActiveMQ Artemis
Issue Type: Improvement
Components: Broker
Affects Versions: 2.32.0
Reporter: Erwin Dondorp
In Artemis, messages expire by their individual message setting. With some
variations possible via address settings in the broker configuration.
But unused subscription-queues are never removed, except for the non-durable
ones.
Request is to add a idle-timeout for queues from durable subscriptions. The
subscription and its queue should then be deleted when there are no subscribers
during a given time-period.
I believe ActiveMQ Classic has this via the offlineDurableSubscriberTimeout
setting, see also
https://activemq.apache.org/components/classic/documentation/manage-durable-subscribers.
This subject was also mentioned a while back in
[https://stackoverflow.com/questions/56115426/apache-activemq-artemis-durable-subscription-ttl;]
but, for our use-cases, using only message-expiry is not sufficient. this is
because each abandonned durable subscription still stores messages, and is thus
using resources.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)