File tree Expand file tree Collapse file tree 4 files changed +39
-2
lines changed
versioned_docs/version-3.13 Expand file tree Collapse file tree 4 files changed +39
-2
lines changed Original file line number Diff line number Diff line change @@ -248,6 +248,16 @@ Clients that attempt that will run into an error that looks like this in the log
248
248
failed to negotiate connection parameters: negotiated channel_max = 2047 is higher than the maximum allowed value (32)
249
249
```
250
250
251
+ ### Maximum number of Channels per Node
252
+
253
+ It is possible to configure the maximum number of channels that are allowed to be open on each node in a cluster using the
254
+ configuration parameter ` channel_max_per_node ` :
255
+
256
+ ``` ini
257
+ # no more than 500 channels can be opened on each node at the same time
258
+ channel_max_per_node = 500
259
+ ```
260
+
251
261
252
262
## Monitoring, Metrics and Diagnostics {#monitoring}
253
263
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ See [Java client guide](/client-libraries/java-api-guide#consuming) for examples
140
140
141
141
See [ .NET client guide] ( /client-libraries/dotnet-api-guide#consuming ) for examples.
142
142
143
- ### Message Properties and Delivery Metadata {#message-properties}
143
+ ## Message Properties and Delivery Metadata {#message-properties}
144
144
145
145
Every delivery combines message metadata and delivery information. Different client
146
146
libraries use slightly different ways of providing access to those properties. Typically
@@ -370,6 +370,15 @@ See [Java client guide](/client-libraries/java-api-guide#consuming) for examples
370
370
371
371
See [ .NET client guide] ( /client-libraries/dotnet-api-guide#consuming ) for examples.
372
372
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
+ ```
381
+
373
382
## Fetching Individual Messages ("Pull API") {#fetching}
374
383
375
384
With AMQP 0-9-1 it is possible to fetch messages one by one using the ` basic.get ` protocol
Original file line number Diff line number Diff line change @@ -248,6 +248,15 @@ Clients that attempt that will run into an error that looks like this in the log
248
248
failed to negotiate connection parameters: negotiated channel_max = 2047 is higher than the maximum allowed value (32)
249
249
```
250
250
251
+ ### Maximum number of Channels per Node
252
+
253
+ It is possible to configure the maximum number of channels that are allowed to be open on each node in a cluster using the
254
+ configuration parameter ` channel_max_per_node ` :
255
+
256
+ ``` ini
257
+ # no more than 500 channels can be opened on each node at the same time
258
+ channel_max_per_node = 500
259
+ ```
251
260
252
261
## Monitoring, Metrics and Diagnostics {#monitoring}
253
262
Original file line number Diff line number Diff line change @@ -140,7 +140,16 @@ See [Java client guide](/client-libraries/java-api-guide#consuming) for examples
140
140
141
141
See [ .NET client guide] ( /client-libraries/dotnet-api-guide#consuming ) for examples.
142
142
143
- ### Message Properties and Delivery Metadata {#message-properties}
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
+
152
+ ## Message Properties and Delivery Metadata {#message-properties}
144
153
145
154
Every delivery combines message metadata and delivery information. Different client
146
155
libraries use slightly different ways of providing access to those properties. Typically
You can’t perform that action at this time.
0 commit comments