• Distributed Message Service

  1. Help Center
  2. Distributed Message Service
  3. User Guide
  4. FAQs
  5. Why Do Consumers Need to Acknowledge Messages?

Why Do Consumers Need to Acknowledge Messages?

The reliability in sending and retrieving messages is the result of joint efforts from DMS, message producers, and message consumers. DMS considers a message retrieved only after a consumer acknowledges the message (that is, acknowledges the message retrieval).

While a message is being retrieved, it remains in the queue. It cannot be retrieved again within 30s since the start of retrieval. If the message is not acknowledged within this period, the message can be retrieved again.


Only messages retrieved using APIs need to be acknowledged. Messages retrieved using the DMS console are automatically acknowledged.