SQS - Delivery Delay of 30 minutes

前端 未结 4 1330
梦如初夏
梦如初夏 2021-01-04 21:33

From the documentation of SQS, Max time delay we can configure for a message to hide from its consumers is 15 minutes - http://docs.aws.amazon.com/AWSSimpleQueueService/late

4条回答
  •  不知归路
    2021-01-04 21:42

    Two thoughts.

    1. Untested. Perhaps publish to and SNS topic that has no SQS queues. When delivery needs to happen, subscribe the queue to the topic. (I've not done this, I'm not sure if this would work as expected)
    2. Push messages as files to a central store (like S3). Create a worker that looks at the time created timestamp and decides whether to publish them to a queue or not. If created >= 1d ago, publish.

提交回复
热议问题