x-expires for streams #3747
-
Question Are Use case The system processes the incoming messages, which in turn are subdivided into subtypes. In addition to subtypes, each message has a certain identifier that allows to determine the belonging of messages to a specific event/entity. For some of the subtypes of each event/entity (identifier), it is required to create a stream in order to be able to read messages again on demand (user request). Streams storing the events/entities data should have a lifetime of N days ( Streams have support for It would be convenient to be able to automatically delete streams. What was tested RabbitMQ version: Using |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
See Stream Retention Policies. Streams are not queues, and even though in some cases clients can use them as if they were, not every feature makes sense for every type, even quorum and classic queues have differences. |
Beta Was this translation helpful? Give feedback.
-
In a Slack discussion with several members of the team, there was little interest in making data types that are replicated and designed to focus on safety (streams is one of them) self-destruct. Programmatically deleting streams is already possible, so this is no a priority. That said, RabbitMQ is open source software and a reasonable implementation of stream TTL would be considered. |
Beta Was this translation helpful? Give feedback.
In a Slack discussion with several members of the team, there was little interest in making data types that are replicated and designed to focus on safety (streams is one of them) self-destruct. Programmatically deleting streams is already possible, so this is no a priority.
That said, RabbitMQ is open source software and a reasonable implementation of stream TTL would be considered.