Three consumers work through a job queue, but only one of them is busy while the other two sit idle. This happens when the first consumer has taken the whole queue: RabbitMQ pushes messages to a consumer without waiting for acknowledgements while the consumer has no limit. That limit decides how many messages one consumer holds at a time.
In this lesson
- What prefetch is
- What it looks like in RabbitMQ
- Which limit to pick
- Global prefetch
- Common mistake
- Key points