Flow control
When it starts
flowmeans a producer publishes faster than a queue or another broker stage can accept messages.- Slow consumers first grow the queue;
flowbegins when a downstream broker stage reaches its throughput constraint. - If the queue, persistence, or replication cannot accept messages at the producer rate, RabbitMQ throttles that producer.
Client effect
- RabbitMQ repeatedly pauses and resumes reads from the publishing connection.
- The client sees lower publishing throughput; a blocked socket write or delayed confirm can exceed its configured timeout.
- A confirm timeout leaves the message outcome unknown; retrying can create a duplicate.
Flow is not a resource alarm
| State | Meaning |
|---|---|
flow | Transient producer throttling triggered by downstream capacity |
blocking | Connection is eligible for blocking by a memory or disk alarm |
blocked | Publishing is stopped by a memory or disk alarm |
- Resolve persistent
flowat the constrained queue, disk, replica, consumer, or node; memory watermark applies to resource alarms.
