x-consumer-timeout can not be set individually per consumer #9268
Unanswered
labankallgren
asked this question in
Questions
Replies: 1 comment 2 replies
-
Yes, this is how all queue arguments work. Once set, you can't change them.
This probably won't be implemented, but I'll let @michaelklishin chime in.
That's surprising, and seems like a bug ... @michaelklishin? |
Beta Was this translation helpful? Give feedback.
2 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
There is a declared queue with one publisher and several consumers.
When the consumer declares the queue it passes the optional queue argument
x-consumer-timeout
as described in https://www.rabbitmq.com/consumers.html.The consumer timeout only kicks in if no queue with that name exists, i. e. the queue is declared for the first time.
If the queue already has been declared (exists) the consumer timeout is not reset.
There are two bugs here:
Primary: The consumers of a specific queue cannot individually set a consumer timeout
Secondary: There is no error response that the attempt to set the consumer timeout on a queue failed (compare with setting x-max-priority),
Reproduction steps
...
Expected behavior
Additional context
This is tested on rabbitmq server 3.13.0-beta
Beta Was this translation helpful? Give feedback.
All reactions