Message Queue for Apache RocketMQ limits the frequency at which a user can call a Message Queue for Apache RocketMQ API operation. If the number of requests that you send to call an operation reaches the request rate limit, new requests fail. This may interrupt your business. This topic describes the API request rate limits for each Message Queue for Apache RocketMQ user.

API request rate limit for each user

A user refers to an Alibaba Cloud account. API request rate limit for each user indicates the maximum number of requests that can be made by an Alibaba Cloud account and the Resource Access Management (RAM) users within the Alibaba Cloud account to call an API operation per second or per minute.

For example, the request rate limit of the OnsRegionList operation for a user is 50 queries per second (QPS). An Alibaba Cloud account contains five RAM users. The number of requests that are sent within 1 second by using the credentials of the Alibaba Cloud account and the RAM users to call the OnsRegionList operation cannot exceed 50.

Notice
  • Message Queue for Apache RocketMQ does not impose request rate limits on all API operations. The following tables describe the request rate limits on Message Queue for Apache RocketMQ API operations.
  • Take note of the units that are specified in the following tables. By default, the unit is QPS. The request rate limits of specific operations are measured by other units such as queries per minute.

Region management

API Request rate limit for each user
OnsRegionList 50 QPS

Service activation

API Request rate limit for each user
OpenOnsService N/A

Instance management

API Request rate limit for each user
OnsInstanceBaseInfo 50 QPS
OnsInstanceCreate 10 QPS
OnsInstanceDelete 10 QPS
OnsInstanceInServiceList 50 QPS
OnsInstanceUpdate 10 QPS

Topic management

API Request rate limit for each user
OnsTopicCreate 10 QPS
OnsTopicDelete 10 QPS
OnsTopicList 10 QPS
OnsTopicStatus 1 QPS
OnsTopicSubDetail 10 QPS

Group management

API Request rate limit for each user
OnsGroupCreate 10 QPS
OnsGroupDelete 10 QPS
OnsGroupList 10 QPS
OnsGroupSubDetail 10 QPS
OnsGroupConsumerUpdate 10 QPS

Tag management

API Request rate limit for each user
TagResources N/A
ListTagResources 10 QPS
UntagResources 10 QPS

Consumption management

API Request rate limit for each user
OnsConsumerAccumulate 10 QPS
OnsConsumerStatus 10 QPS
OnsConsumerGetConnection 10 QPS
OnsConsumerResetOffset 10 QPS
OnsConsumerTimeSpan 10 QPS
OnsMessagePush 10 QPS

Message query

API Request rate limit for each user
OnsMessageTrace 10 QPS
OnsMessageGetByMsgId 10 QPS
OnsMessageGetByKey 10 QPS
OnsMessagePageQueryByTopic 10 queries per minute

Publishing and subscription statistics

API Request rate limit for each user
OnsTrendTopicInputTps 15 queries per minute
OnsTrendGroupOutputTps 15 queries per minute

Message trace management

API Request rate limit for each user
OnsTraceGetResult 10 QPS
OnsTraceQueryByMsgId 30 queries per minute
OnsTraceQueryByMsgKey 30 queries per minute

Dead-letter message management

API Request rate limit for each user
OnsDLQMessageGetById 10 QPS
OnsDLQMessagePageQueryByGroupId 10 QPS
OnsDLQMessageResendById 10 QPS