[Suggestion] Improving visibility of QQ at-least-once dead-lettering failures #14494
Unanswered
the-mikedavis
asked this question in
Ideas
Replies: 1 comment 1 reply
-
This message is logged once to avoid flooding the logs for each message. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
RabbitMQ series
4.1.x
Operating system (distribution) used
macOS
How is RabbitMQ deployed?
Other
What would you like to suggest for a future version of RabbitMQ?
At-least-once dead-lettering for QQs uses an internal queue to guarantee safe dead-lettering. If messages cannot be successfully consumed from the internal dead letter queue, though, they are stuck and the QQ cannot truncate its log past the indexes of the dead-lettered message(s). That can lead to a large disk footprint for reasonably busy QQs, even if the queue appears to be empty in terms of ready messages.
Currently there are some warnings logs that pop up in this situation:
rabbitmq-server/deps/rabbit/src/rabbit_fifo_dlx_worker.erl
Lines 623 to 672 in 522d8fd
It can be easy to miss these though since they're only logged once. It would be nice to surface errors like unroutable dead-letters in a more visible way. Maybe the queues page in the management UI could show a warning on these queues for example.
Beta Was this translation helpful? Give feedback.
All reactions