unable to set the rabbitmq queue to lazy queue #4151
-
I have referred the link https://www.rabbitmq.com/lazy-queues.html here and set the rabbitmq queue to lazy queue using the following command rabbitmqctl set_policy Lazy "^lazy-queue$" '{"queue-mode":"lazy"}' --apply-to queues However, when checking it using the command curl -u guest:guest 'localhost:15672/api/queues' it still shows the "mode":"default" . How do I set the queue to lazy queue in rabbitmq. Could someone please help |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
I will convert this issue to a GitHub discussion. Currently GitHub will automatically close and lock the issue even though your question will be transferred and responded to elsewhere. This is to let you know that we do not intend to ignore this but this is how the current GitHub conversion mechanism makes it seem for the users :( |
Beta Was this translation helpful? Give feedback.
-
We can't really help without the exact steps you execute. It works for me:
Perhaps you have another policy that takes precedence? |
Beta Was this translation helpful? Give feedback.
-
Policy priority conflicts is by the most likely reason. |
Beta Was this translation helpful? Give feedback.
-
Hi All, I want to set the lazy queue concept for all my queues, using ruby code how we can set lazy queue. can someone please help? I was trying like this but it didn't work rmq_channel.queue("test_queue", {:durable => true, :arguments => {"x-queue-mode" => "lazy"}}). Thanks. |
Beta Was this translation helpful? Give feedback.
We can't really help without the exact steps you execute. It works for me:
Perhaps you have ano…