1 個回答
- 最新
- 最多得票
- 最多評論
0
I think I get the root cause. Lambda is using long polling to get messages from SQS. it will wait for the message for up to 20 seconds. So even if there is no message during that time and a shorter batch window like 2 seconds has been set, the function will be invoked after 20 seconds with an empty message.
I will vote myself :-)
已回答 3 個月前
相關內容
- AWS 官方已更新 1 年前
- AWS 官方已更新 8 個月前
How is your visibility timeout configured?
It's 30 seconds by default