Policy matching on queue-type #6217
-
Currently it is only possible to restrict what a policy is applied to by
It would be more explicit (and maybe more future proof) to allow explicitly selecting which queue type we intend a policy to be applied to. For example one could specify a "default for quorum queues" policy with a conservative delivery-limit value (as quorum queues don't handle that well infinite redelivery). Today that policy won't be applied to other queue types but there was mention of implementing delivery-limit for classic queues. Maybe then we would like to apply a different policy with a different limit for CQs as they have different memory/disk characteristics. Could be implemented with a new optional policy parameter What do you think? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
That's a decent idea that was discussed by the core team. We would consider a PR for sure. |
Beta Was this translation helpful? Give feedback.
-
great, thanks for the positive response. |
Beta Was this translation helpful? Give feedback.
-
Completed in #7601. Will be available in 3.12 |
Beta Was this translation helpful? Give feedback.
-
that's great. thank you! |
Beta Was this translation helpful? Give feedback.
Completed in #7601. Will be available in 3.12