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 官方已更新 7 个月前
How is your visibility timeout configured?
It's 30 seconds by default