Integration / RabbitMQ Interview Questions
What are the types of acknowledgments in RabbitMQ?
RabbitMQ uses two independent acknowledgment mechanisms, one on the publishing side and one on the consuming side.
| Publisher-side | Consumer-side |
| Publisher confirms - broker tells the producer a message was safely received. | Consumer acks - consumer tells the broker a message was processed. |
| Async, non-blocking, tracked by delivery tag. | Can be automatic (fire-and-forget) or manual via basic.ack. |
| Nack sent if the message could not be routed/persisted. | basic.nack / basic.reject can requeue or dead-letter a failed message. |
Using both together - durable queues, persistent messages, publisher confirms, and manual consumer acks - is the standard recipe for not losing messages.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
