Skip to content

Commit a2a1467

Browse files
Remove mentions of global prefetch rabbitmq/rabbitmq-server#12457
1 parent 9158aa9 commit a2a1467

File tree

2 files changed

+6
-24
lines changed

2 files changed

+6
-24
lines changed

docs/consumer-prefetch.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,30 +36,21 @@ single machine, and very slow when consuming across a cluster.
3636
Furthermore for many uses it is simply more natural to specify
3737
a prefetch count that applies to each consumer.
3838

39-
Therefore RabbitMQ redefines the meaning of the
40-
`global` flag in the `basic.qos` method:
39+
Therefore RabbitMQ slightly deviates from the AMQP 0-9-1 spec
40+
when it comes to how the prefetch is applied to multiple consumers
41+
on a channel:
4142

4243
<table class="styled-table">
4344
<tr>
44-
<th><code>global</code></th>
4545
<th>Meaning of <code>prefetch_count</code> in AMQP 0-9-1</th>
4646
<th>Meaning of <code>prefetch_count</code> in RabbitMQ</th>
4747
</tr>
4848
<tr>
49-
<th>false</th>
5049
<td>shared across all consumers on the channel</td>
5150
<td>applied separately to each new consumer on the channel</td>
5251
</tr>
53-
<tr>
54-
<th>true</th>
55-
<td>shared across all consumers on the connection</td>
56-
<td>shared across all consumers on the channel</td>
57-
</tr>
5852
</table>
5953

60-
Note that the default value for the `global` flag is
61-
`false` in most APIs.
62-
6354
## Single Consumer {#single-consumer}
6455

6556
The following basic example in Java will receive a maximum of 10

versioned_docs/version-4.0/consumer-prefetch.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,30 +36,21 @@ single machine, and very slow when consuming across a cluster.
3636
Furthermore for many uses it is simply more natural to specify
3737
a prefetch count that applies to each consumer.
3838

39-
Therefore RabbitMQ redefines the meaning of the
40-
`global` flag in the `basic.qos` method:
39+
Therefore RabbitMQ slightly deviates from the AMQP 0-9-1 spec
40+
when it comes to how the prefetch is applied to multiple consumers
41+
on a channel:
4142

4243
<table class="styled-table">
4344
<tr>
44-
<th><code>global</code></th>
4545
<th>Meaning of <code>prefetch_count</code> in AMQP 0-9-1</th>
4646
<th>Meaning of <code>prefetch_count</code> in RabbitMQ</th>
4747
</tr>
4848
<tr>
49-
<th>false</th>
5049
<td>shared across all consumers on the channel</td>
5150
<td>applied separately to each new consumer on the channel</td>
5251
</tr>
53-
<tr>
54-
<th>true</th>
55-
<td>shared across all consumers on the connection</td>
56-
<td>shared across all consumers on the channel</td>
57-
</tr>
5852
</table>
5953

60-
Note that the default value for the `global` flag is
61-
`false` in most APIs.
62-
6354
## Single Consumer {#single-consumer}
6455

6556
The following basic example in Java will receive a maximum of 10

0 commit comments

Comments
 (0)