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