tencent cloud

Feedback

Dead Letter Queue

Last updated: 2023-09-12 16:42:15
    This document describes the dead letter queues and their usages in TDMQ for RocketMQ.

    Feature Overview

    When a message is consumed for the first time by a consumer and fails to get a normal response, or when it is requested by users to deliver again in the server, TDMQ for RocketMQ will automatically retry delivering this message through the message retry mechanism until it is consumed successfully. When the number of retries reaches the specified value but the message is still not consumed successfully, retry will stop, and the message will be delivered to the dead letter queue.
    After the message enters the dead letter queue, TDMQ for RocketMQ can no longer process it automatically. At this point, human intervention is generally required. You can write a dedicated client to subscribe to the dead letter queue to process such messages.

    Notes

    Messages in the dead letter queue must be processed manually or by new code logic, whereas messages in the retry queue can be consumed automatically.
    Messages in the dead letter queue are only valid for three days by default and are deleted after that.
    The dead letter queue starts with %DLQ%, which corresponds to the consumer group one by one. Therefore, a dead letter queue contains all the dead letter messages corresponding to the group ID, no matter which topic the message belongs to.
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support