- 最新
- 最多得票
- 最多評論
Delay timer applies to a queue, but you can also override it per message. If you apply it on the queue itself, you are correct, all the messages will be available at the same rate in which they arrived into the queue, with the delay value offset.
I am not sure what you are trying to achieve, but if you are consuming the messages yourself (i.e. not using Lambda functions), you can control the consumption rate.
If you want to have different delays for different buckets, you can create different queues. Alternatively, you can send the S3 events to EventBridge and use different rules for the different buckets, each rules sending the messages to the queue with a different delay. You may need to use a Lambda function between the rule and the queue as I am not sure you can specify a delay when sending the messages directly from the rule to the queue.
相關內容
- 已提問 6 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 7 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 7 個月前
Hello, The best solution for my use case was: "If you want to have different delays for different buckets, you can create different queues" Thank you, Mihai