小编Dal*_*usR的帖子

SQS triggers Lambda with multiple records/messages?

I've observed an abnormal (well, in my POV) feature, where when I setup SQS to trigger a Lambda, when new messages arrive, lambdas get triggered with more than 1 record/message inside its event body.

Full setup is S3 (PutObjectEvent) -> SNS topic -> SQS -> Lambda.

The abnormal behaviour is that for example, let's say I put 15 objects inside S3, which then forwards an event to SNS per each object, which then I can observe, SQS gets populated with …

amazon-sqs amazon-web-services aws-lambda

4
推荐指数
1
解决办法
3683
查看次数