Usage Restrictions

MQ usage restrictions are as follows:

Service Restrictions

ItemLimit ValueDescription
Total number of topics that users can create for a message queuing service5
Total number of subscriptions that users can create to a topic5
Message body size256KBOver-quota messages will be discarded.
Expiration time of messages on a topic30s-7daysMessages that are enqueued for more than the expiration time will be reclaimed
topic cache size1G1G by default, where configuration is not supported yet. When queue data volume exceeds the limit, the service will reclaim the space occupied by unexpired messages from the head.
Rate of messages consumed per topic5000 pcs/secHow to calculate the number of messages: measured in 1KB and rounded up
Example 1: 1.5KB enqueued is consumed by one client, and the number of messages is counted as 2.
Example 2: 1KB enqueued is consumed by 3 clients, and the number of messages is counted as 3.
Subscribe message lock time10-60s0 by default, that is, not locked. If set to > 0, message locking is enabled.
For example, if it is set to 10s and no ack is returned after data are consumed by the client, any unacknowledged messages will be consumed again after 10s
Position of consumer subscribedNone0 by default, that is, it starts consuming messages from the head of the queue.
Frequency limit to non-business messages per client60/sIn terms of frequency limit to Ping, Subscribe and Unsubscribe messages, the client will disconnect if it exceeds the limit.

MQTT Protocol Restrictions

FunctionSupported or NotDescription
ConnectSupportedA CONNECT message that a client sends to MQ contains a connect flag that must be set to 0xC2, otherwise the client will disconnect.
ConnAckSupportedMQ’s response to CONNECT received from the client. If response in reverse order, the client will disconnect
PublishSupportedMQ pushes messages to the client
PubAckSupportedA reply from the client after receiving MQ’s push.
SubscribeSupportedA message sent by the client to MQ that subscribes to a topic
When the instance is in arrears, subscribe failed and the server will disconnect
SubAckSupportedA response that Q sends to a client that subscribes to a topic. If response in reverse order, the client will disconnect
UnsubscribeSupportedA message that a client sends to MQ to unsubscribe from a topic
UnsubAckSupportedA response that MQ sends to the client that unsubscribes from a topic. If response in reverse order, the client will disconnect
PingSupportedPing message that the client sends to MQ
PingRespSupportedA response that MQ sends to the Ping message from the client
DisconnectSupportedAn off-line message that the client sends to MQ
PubRecNot SupportedWhen the client sends this type of message, it will disconnect
PubRelNot SupportedWhen the client sends this type of message, it will disconnect
PubCompNot SupportedWhen the client sends this type of message, it will disconnect

个搜索结果,搜索内容 “

    0 个搜索结果,搜索内容 “