Skip to content

CQ with no consumers not expiring messages (via message-ttl) but getting a single message via WebUI reproducibly triggers an expire #10697

Closed Answered by michaelklishin
frittentheke asked this question in General
Discussion options

You must be logged in to vote

This is a documented behavior, messages are expired when they reach the head of the queue and a consumption.

There are no plans to change this. Expired messages will not be delivered to consumers, as documented, and that's the key objective. Queues without consumers is a scenario RabbitMQ does not optimize for. If you need to store data for a period of time with exclusively time-based expiration and with sporadic consumer availability, streams are a better option.

Inter-node communication buffer is completely irrelevant to message TTL.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@frittentheke
Comment options

@frittentheke
Comment options

@michaelklishin
Comment options

@michaelklishin
Comment options

Answer selected by michaelklishin
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
2 participants
Converted from issue

This discussion was converted from issue #10697 on March 07, 2024 12:35.