From 79a637085ebaf649ef1260db5b2819f7ee940896 Mon Sep 17 00:00:00 2001 From: Mirza Musharaf Baig Date: Mon, 3 Jul 2023 04:56:17 +0500 Subject: [PATCH 1/2] Update README.md Update docs for Executing in Response to AWS Events section. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9af47f016..0e5188d17 100644 --- a/README.md +++ b/README.md @@ -619,7 +619,7 @@ Optionally you can add [SNS message filters](http://docs.aws.amazon.com/sns/late ] ``` -[SQS](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html) is also pulling messages from a stream. At this time, [only "Standard" queues can trigger lambda events, not "FIFO" queues](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html). Read the AWS Documentation carefully since Lambda calls the SQS DeleteMessage API on your behalf once your function completes successfully. +[SQS](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html) is also pulling messages from a stream. Read the AWS Documentation carefully since Lambda calls the SQS DeleteMessage API on your behalf once your function completes successfully. By default, if your function encounters an error while processing a batch, all messages in that batch become visible in the queue again. ```javascript "events": [ @@ -627,7 +627,7 @@ Optionally you can add [SNS message filters](http://docs.aws.amazon.com/sns/late "function": "your_module.process_messages", "event_source": { "arn": "arn:aws:sqs:us-east-1:12341234:your-queue-name-arn", - "batch_size": 10, // Max: 10. Use 1 to trigger immediate processing + "batch_size": 10, // Maximum: 10 for FIFO and 10,000 for Standard. Use 1 to trigger immediate processing "enabled": true // Default is false } } From 1283910df1113d9a870b440ac73d5205cd43204b Mon Sep 17 00:00:00 2001 From: Mirza Musharaf Baig Date: Mon, 3 Jul 2023 04:58:16 +0500 Subject: [PATCH 2/2] Update README.md Added AWS Documentation link for SQS --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0e5188d17..4e530e9dd 100644 --- a/README.md +++ b/README.md @@ -619,7 +619,7 @@ Optionally you can add [SNS message filters](http://docs.aws.amazon.com/sns/late ] ``` -[SQS](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html) is also pulling messages from a stream. Read the AWS Documentation carefully since Lambda calls the SQS DeleteMessage API on your behalf once your function completes successfully. By default, if your function encounters an error while processing a batch, all messages in that batch become visible in the queue again. +[SQS](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html) is also pulling messages from a stream. Read the [AWS Documentation](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html) carefully since Lambda calls the SQS DeleteMessage API on your behalf once your function completes successfully. By default, if your function encounters an error while processing a batch, all messages in that batch become visible in the queue again. ```javascript "events": [