Skip to content

Commit bdc1376

Browse files
Consumers guide: move a section around
1 parent 1c10d6a commit bdc1376

File tree

2 files changed

+20
-17
lines changed

2 files changed

+20
-17
lines changed

docs/consumers.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -370,14 +370,6 @@ See [Java client guide](/client-libraries/java-api-guide#consuming) for examples
370370

371371
See [.NET client guide](/client-libraries/dotnet-api-guide#consuming) for examples.
372372

373-
## Limiting the number of Consumers per channel
374-
375-
In some scenarios where consumer leaks can happen it is good to limit the number of consumers that can be active on
376-
each channel. This can be configured in [rabbitmq.conf](./configure#config-file) using the setting `consumer_max_per_channel`:
377-
378-
```ini
379-
consumer_max_per_channel = 100
380-
```
381373

382374
## Fetching Individual Messages ("Pull API") {#fetching}
383375

@@ -471,6 +463,16 @@ The timeout is specified in milliseconds.
471463
Whether the timeout should be enforced is evaluated periodically, at one minute intervals.
472464

473465

466+
## Limiting the number of Consumers per channel
467+
468+
In some scenarios where consumer leaks can happen it is good to limit the number of consumers that can be active on
469+
each channel. This can be configured in [rabbitmq.conf](./configure#config-file) using the setting `consumer_max_per_channel`:
470+
471+
```ini
472+
consumer_max_per_channel = 100
473+
```
474+
475+
474476
## Exclusivity {#exclusivity}
475477

476478
When registering a consumer with an AMQP 0-9-1 client, [the `exclusive` flag](/amqp-0-9-1-reference#basic.consume)

versioned_docs/version-3.13/consumers.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,6 @@ See [Java client guide](/client-libraries/java-api-guide#consuming) for examples
140140

141141
See [.NET client guide](/client-libraries/dotnet-api-guide#consuming) for examples.
142142

143-
## Limiting the number of Consumers per channel
144-
145-
In some scenarios where consumer leaks can happen it is good to limit the number of consumers that can be active on
146-
each channel. This can be configured in [rabbitmq.conf](./configure#config-file) using the setting `consumer_max_per_channel`:
147-
148-
```ini
149-
consumer_max_per_channel = 100
150-
```
151-
152143
## Message Properties and Delivery Metadata {#message-properties}
153144

154145
Every delivery combines message metadata and delivery information. Different client
@@ -471,6 +462,16 @@ The timeout is specified in milliseconds.
471462
Whether the timeout should be enforced is evaluated periodically, at one minute intervals.
472463

473464

465+
## Limiting the number of Consumers per channel
466+
467+
In some scenarios where consumer leaks can happen it is good to limit the number of consumers that can be active on
468+
each channel. This can be configured in [rabbitmq.conf](./configure#config-file) using the setting `consumer_max_per_channel`:
469+
470+
```ini
471+
consumer_max_per_channel = 100
472+
```
473+
474+
474475
## Exclusivity {#exclusivity}
475476

476477
When registering a consumer with an AMQP 0-9-1 client, [the `exclusive` flag](/amqp-0-9-1-reference#basic.consume)

0 commit comments

Comments
 (0)