Skip to content

How to set Stream retention policy #13241

Closed Answered by acogoluegnes
ankitgr8 asked this question in Questions
Discussion options

You must be logged in to vote

You just need to set up a policy. Do not use the set_stream_retention_policy command (we will probably remove it in the future).

By setting an appropriate regex in a policy you can target one or several streams and apply the retention with the max-age field.

On another note, you happily checked "I run RabbitMQ 4.x, the only series currently covered by community support" whereas the status output says "RabbitMQ version: 3.13.7". Let's consider it a honest mistake but please be more careful in the future.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@ankitgr8
Comment options

@michaelklishin
Comment options

Answer selected by acogoluegnes
Comment options

You must be logged in to vote
1 reply
@acogoluegnes
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants