rabbitmqctl set_policy TTL1 "TTL1" '{"message-ttl":10000,"ha-mode":"exactly","ha-params":1,"ha-sync-mode":"automatic"}' --priority 1 --apply-to queues
rabbitmqctl set_policy TTL2 "TTL2" '{"message-ttl":60000,"ha-params":1,"ha-mode":"exactly","ha-sync-mode":"automatic"}' --priority 1 --apply-to queues
rabbitmqctl set_policy TTL3 "TTL3" '{"message-ttl":900000,"ha-params":1,"ha-mode":"exactly","ha-sync-mode":"automatic"}' --priority 1 --apply-to queues
rabbitmqctl set_policy TTL4 "TTL4" '{"message-ttl":3600000,"ha-mode":"exactly","ha-sync-mode":"automatic","ha-params":1}' --priority 1 --apply-to queues
rabbitmqctl set_policy TTL5 "TTL5" '{"message-ttl":21600000,"ha-mode":"exactly","ha-sync-mode":"automatic","ha-params":1}' --priority 1 --apply-to queues--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
http://www.rabbitmq.com/memory-use.html.
If you can consume messages, I don’t see a reason for Shovel not to work with a low prefetch value.
I cannot speculate as to what’s going on with nacks as you haven’t provided any code but if the number of unacknowledged messages keeps growing, it will lead to a lot more RAM being used. That’s a known limitation.
Forgot to mention the versions - RabbitMQ version 3.7.3,Erlang 20.2, Ubuntu 16.04 servers
--