pause consuming with auto ack true / rate limit with with auto ack true #247
-
Is your feature request related to a problem? Please describe.i need to pause consuming in auto ack true mode Describe the solution you'd likei need to set a message rate for consume data from my queue in auto ack mode Describe alternatives you've consideredNo response Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Thanks for using RabbitMQ and this AMQP client library.
This is not supported. By design, auto ack mode does not limit the message rate to your consumer. If you wish to limit the rate of messages to your consumer, and not lose messages that are in RAM, you MUST use manual ack mode. If you think about it, this applies to ANY network protocol, not just AMQP. |
Beta Was this translation helpful? Give feedback.
-
so at least is there anyway to stop consuming for auto ack mode without lose data? |
Beta Was this translation helpful? Give feedback.
-
no i manually want to stop consuming and after a while again start consuming also if we have another method like Get that could received more than 1 data from queue it is very good for us |
Beta Was this translation helpful? Give feedback.
-
thanks a lot |
Beta Was this translation helpful? Give feedback.
Thanks for using RabbitMQ and this AMQP client library.
This is not supported. By design, auto ack mode does not limit the message rate to your consumer.
If you wish to limit the rate of messages to your consumer, and not lose messages that are in RAM, you MUST use manual ack mode.
If you think about it, this applies to ANY network protocol, not just AMQP.