AWS SNS 到 Lambda,每次调用多少条消息?

AWS SNS to Lambda, how many message per invoke?


我有一个订阅了 lambda 的 SNS 主题。
在订阅的 lambda 中,在事件参数中,我有一个 Records 属性,它原来是一个数组并包含(至少)一条来自 SNS 的消息。
这就是为什么我想知道在某些时候,我的 lambda 是否有可能被多个 SNS 消息调用。

然而,在 AWS 文档 (http://docs.aws.amazon.com/lambda/latest/dg/with-sns-create-package.html) 中,他们只查看 Records[0]。我找不到任何关于为什么记录在数组中的信息。

根据 FAQs for Amazon SNS...

Q: Will a notification contain more than one message?

No, all notification messages will contain a single published message.