Parameter | Description |
Queue Name | Queue name is case-insensitive and cannot be modified once created. It is the primary key of a queue service and the unique identifier of a resource. It is used to specify a queue when APIs are called for operations. |
Resource Tag | It is optional and can help you easily categorize and manage TDMQ for CMQ resources in many dimensions. For detailed usage, see Managing Resource with Tag. |
Max Message Unack Time | It ranges from 30 seconds to 12 hours. If the consumer client fails to acknowledge a received message within this time period, the server will automatically acknowledge the message. Even if you have set the delay time for a message, the max message unack time will still start from the time when the message is actually sent. For example, if the max message unack time is set to one hour while the message is set to be sent two hours later, the message will be deleted one hour later, causing message loss. Therefore, make sure the max message unack time is longer than the delay time of the message. |
Long Polling Wait Time for Message Receipt | During the long polling wait time, a message consumption request will return a response only after a valid message is fetched or the long polling times out, which is similar to the long polling in Ajax requests. Value range: 0-30 seconds. A value lower than 3 seconds is recommended, as a high value may cause more duplicated messages. |
Hidden Duration of Fetched Messages | A queue’s VisibilityTimeout attribute in seconds. Value range: 1–43,200 seconds (1s–12 hours). A default value of VisibilityTimeout is set for each message. The visibility timeout duration starts when the worker receives the message. If the worker fails to process the message within this duration, the message may be received and processed by another worker. |
Dead Letter Queue | A dead letter queue is used to process messages that cannot be consumed normally. After retry limit is reached, if the messages still cannot be consumed, it indicates that the consumer cannot properly consume the messages under normal circumstances. At this time, instead of immediately discarding the messages, MQ will send them to the special queue corresponding to the consumer. |
MaxMsgSize
attribute.
Was this page helpful?