Skip to content
Discussion options

You must be logged in to vote

x-max-age doesn't specify when to delete the Stream but rather how long to keep the data in it for. Moreover, retention is only evaluated when a new segment file is created on disk for a given stream - if you publish a few messages and then stop publishing - they will never get deleted, you need to keep publishing to "push out" the old messages from the stream.

More info: https://www.rabbitmq.com/streams.html#retention

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by michelveloso
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
Converted from issue

This discussion was converted from issue #4383 on March 31, 2022 06:28.