Integration / RabbitMQ Interview Questions
Explain the execution flow of a publisher confirm?
Publisher confirms let a producer track, asynchronously, whether each message it published was actually accepted by the broker.
The producer typically keeps a map of outstanding delivery tags to messages; on basic.ack it removes the tag as confirmed, and on basic.nack it can log, alert, or retry the failed message. RabbitMQ can also send a single ack covering a range of tags via the multiple flag, which is why batching acks improves throughput.
More Related questions...