简体   繁体   中英

trigger AWS lambda function from SQS that already has messages in it

If I set a trigger for lambda function from SQS that already has messages in it, will the existing messages trigger the lambda function? or that only new arriving messages will trigger it? If the old messages won't trigger the lambda function automatically, is there a manual way that will still trigger the lambda function to read the old messages?

Edit: After testing that, the answer is YES. The existing messages do trigger the lambda function.

After testing that, the answer is YES. The existing messages do trigger the lambda function.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM