Integration / RabbitMQ Interview Questions
What is a consumer in RabbitMQ?
A consumer is an application that subscribes to a queue using basic.consume (or polls it with basic.get) and receives messages as they become available.
After processing a message, the consumer sends back an acknowledgment, negative acknowledgment, or rejection, which tells RabbitMQ whether to remove the message from the queue, requeue it, or dead-letter it.
Multiple consumers can attach to the same queue, in which case RabbitMQ dispatches messages between them in round-robin order by default, subject to each consumer's prefetch limit.
More Related questions...