Help Center> > FAQs> Why Do Consumers Need to Acknowledge Messages?

Why Do Consumers Need to Acknowledge Messages?

Updated at: May 21, 2019 19:13

Messages need to be acknowledged to ensure the reliability of 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 to be 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, DMS determines that the message is not successfully retrieved, and the message can be retrieved again.

NOTE:

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

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel