Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.37.0
-
None
-
None
Description
There is no timeout period to wait for consumers to failover and reconnect when a queue is configured to be purged when there are no consumers. So i would like a configuration so there is a middle ground in cases where we generally expect a consumer to come back and don't want to lose messages but also want to keep the address from filling up so other consumers aren't affected when a consumer is unable to reconnect.
This is different from message expiry because we generally don't want the messages to expire just in extreme case where a consumer can't reconnect for a prolonged period we don't want the address filling up and affecting other consumers.
Maybe there is a better generalization than adding a delay configuration specifically for
purge-on-no-consumers to tell Artemis what to do with messages when there is no active consumer but the address hasn't filled up yet.