SQS Size growing even though messages deleted is equal to messages received

谁都会走 提交于 2019-12-13 07:36:37

问题


What can be the reason for number of messages in a SQS queue increasing if the number of messaged deleted is equal to number of messages received?


回答1:


From Available CloudWatch Metrics for Amazon SQS - Amazon Simple Queue Service:

  • NumberOfMessagesDeleted: Amazon SQS emits the NumberOfMessagesDeleted metric for every successful deletion operation that uses a valid receipt handle, including duplicate deletions.
  • NumberOfMessagesReceived: The number of messages returned by calls to the ReceiveMessage action.
  • NumberOfMessagesSent: The number of messages added to a queue.

Or, in simple terms:

  • Sent means sent to the queue
  • Received means retrieved from the queue
  • Deleted means removed from the queue


来源:https://stackoverflow.com/questions/57714193/sqs-size-growing-even-though-messages-deleted-is-equal-to-messages-received

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!