RabbitMQ - Resolve "Message dropped Dead-letter queues cycle detected"

Let's say the following is found in your main RabbitMQ log.

2021-07-07 00:03:35.686 [warning] <0.849.0> Message dropped. Dead-letter queues cycle detected: [<<"foo.queue">>,<<"bar.queue">>,<<"foo.queue">>]
This cycle will NOT be reported again.

 

This can occur when the original queue and the dead letter queue are both configured to move a message to another exchange when Time to Live (TTL) period has expired. Let's say foo.queue and bar.queue are both configured with a TTL of 60000 miliseconds (that's 1 minute).

 

According to https://www.rabbitmq.com/dlx.html, the message will be dropped when the message is moved to a dead letter exchange without a dead letter routing key as long as the message was not rejected.

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee

Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.





Please enter 9656f in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |