RabbitMQ 3.6.x
I have a fanout exchange with 2 queues registered. All works fine.
But silly question in pub/sub fanout model, can/should the consumer do acknowledgements?
consumers always have to acknowledgement messages!
Maybe the question is auto_ack
yes or not.
But silly question in pub/sub fanout model, can/should the consumer do acknowledgements?
Even if pub/sub usually implements auto-delete, exclusive queues with auto_ack = true
, there is not a specific rule !
it depends from your application! :)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.