Notes and Constraints
This section describes the notes and constraints on Distributed Message Service (DMS) for RabbitMQ. Use your RabbitMQ instances as prescribed to avoid program exceptions.
Any instability caused by ignorance of the notes and constraints is not covered by the SLA.
Instance
|
Item |
Constraint |
|---|---|
|
Version |
Server version: 3.8.35 and 3.12.13 |
|
Number of connections |
The allowed number of connections differs by instance specifications and mode (single-node or cluster). For details, see Specifications. |
|
Channels |
Number of channels that can be created for a single connection: ≤ 2047 |
|
Memory high watermark |
≤ 40% If the memory usage exceeds 40%, the high memory watermark may be triggered, blocking publishers. |
|
Disk high watermark |
≥ 5 GB If the remaining disk space is less than 5 GB, the high disk watermark is triggered, blocking publishers. |
|
cluster_partition_handling |
pause_minority When a network partition occurs in a cluster, cluster brokers will determine whether they are in a minority, that is, fewer than or equal to the total number of brokers. Minority brokers pause when a partition starts, detect the network status periodically, and start again when the partition ends. If queue mirroring is not enabled, queue replicas in the minority will no longer be available for message creation and retrieval. This strategy sacrifices availability for data consistency. |
|
RabbitMQ plug-ins |
RabbitMQ plug-ins can be used for testing and service migration. Do not use them for production. Reliability issues caused from using plug-ins are not within commitments on SLAs. |
|
VPC, subnet, and AZ |
After an instance is created, its VPC, subnet, and AZ cannot be modified. |
|
Storage space per broker |
The storage space can be expanded but cannot be reduced. |
|
Broker quantity |
|
|
Broker Flavor |
|
|
ping command |
|
|
Item |
Constraint |
|---|---|
|
Version |
The service version can be AMQP-0-9-1. |
|
Number of connections |
The allowed number of connections differs by instance specifications and mode (single-node or cluster). For details, see Specifications. |
|
Channels |
Number of channels that can be created for a single connection: ≤ 2000 |
|
VPC, subnet, and AZ |
After an instance is created, its VPC, subnet, and AZ cannot be modified. |
|
Storage space per broker |
The storage space can be expanded but cannot be reduced. |
|
Broker Flavor |
|
|
ping command |
|
|
TPS |
Producing and consuming messages share TPS. TPS varies with product flavors. For more information, see Specifications. When TPS reaches the upper limit, the channel is disconnected and the error message "denied for too many requests" is displayed. |
|
Maximum channels per connection |
2000 |
|
Maximum channels of an instance |
|
|
Consumption timeout |
|
Virtual Host
|
Item |
Constraint |
|---|---|
|
Deleting a virtual host |
The default virtual host automatically generated in instance creation cannot be deleted. |
|
Vhost |
|
|
Item |
Constraint |
|---|---|
|
Deleting a virtual host |
The default virtual host automatically generated in instance creation cannot be deleted. |
|
Vhost |
When a virtual host name contains special characters such as percent (%), vertical bar (|), slash (/), or period (.), this name is not consistently displayed on the monitoring page. The special characters are displayed as underscores (_) instead. For example, virtual host Vhost.1%1|2_3/ is displayed as Vhost_1_1_2_3_ in monitoring. |
Exchange
|
Item |
Constraint |
|---|---|
|
Default exchange |
Seven exchanges are automatically generated by default after virtual host creation. These exchanges include (AMQP default), amq.direct, amq.fanout, amq.headers, amq.match, amq.rabbitmq.trace, and amq.topic. |
|
Binding an exchange |
|
|
Deleting an exchange |
The default exchange cannot be deleted. |
|
Item |
Constraint |
|---|---|
|
Binding an exchange |
Exchanges can only be bound with queues and not exchanges. |
|
Exchange |
When an exchange name contains special characters such as percent (%), vertical bar (|), slash (/), or period (.), this name is not consistently displayed on the monitoring page. The special characters are displayed as underscores (_). For example, exchange Exchange.1%1|2_3/ is displayed as Exchange_1_1_2_3_ in monitoring. |
|
Maximum bindings per exchange |
256 |
Queue
|
Item |
Constraint |
|---|---|
|
Binding a queue |
|
|
Lazy queues |
Available for RabbitMQ 3.8.35 and later. |
|
Quorum queues |
Available for RabbitMQ 3.8.35 and later. |
|
Single active consumer |
Available for RabbitMQ 3.8.35 and later. |
|
Queue |
|
|
Item |
Constraint |
|---|---|
|
Queue |
When a queue name contains special characters such as percent (%), vertical bar (|), slash (/), and period (.), this name is not consistently displayed on the monitoring page. The special characters are displayed as underscores (_). For example, queue Queue.1%1|2_3/ is displayed as Queue_1_1_2_3_ in monitoring. |
|
Maximum consumers per queue |
5,000 |
Message
|
Item |
Constraint |
|---|---|
|
Message size |
≤ 50 MB per message Do not send a message larger than 50 MB. Otherwise, the message will fail to be created. |
|
Item |
Constraint |
|---|---|
|
Message size |
≤ 4 MB per message Do not send a message larger than 50 MB. Otherwise, the message will fail to be created. |
|
Message retention duration |
2 days by default |
|
Maximum retention of a delayed message |
7 days |
|
Maximum message retries |
16 times When retry times are exceeded and no dead letter queue is configured, the message is discarded. Otherwise, the message is routed to the dead letter queue. |
|
Transaction message |
Not supported. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot