chalice icon indicating copy to clipboard operation
chalice copied to clipboard

SQS FIFO Support

Open amarjandu opened this issue 6 years ago • 3 comments

Hey! I saw on the readthedocs that FIFO SQS queues are not supported by chalice yet, was there something preventing the integration? See: https://chalice.readthedocs.io/en/latest/topics/events.html#sqs-events

amarjandu avatar Mar 25 '20 23:03 amarjandu

Initially it was because lambda didn't support this, but it looks like as of a few months ago this is now possible (https://aws.amazon.com/blogs/compute/new-for-aws-lambda-sqs-fifo-as-an-event-source/). I'll check on this in the morning, it might just be some extra config options we need to add to support this, but this should be possible now.

jamesls avatar Mar 26 '20 01:03 jamesls

Initially it was because lambda didn't support this, but it looks like as of a few months ago this is now possible (https://aws.amazon.com/blogs/compute/new-for-aws-lambda-sqs-fifo-as-an-event-source/). I'll check on this in the morning, it might just be some extra config options we need to add to support this, but this should be possible now.

Hi James, Any update to this one ?

britishbadger avatar Apr 23 '20 08:04 britishbadger

Just verified, everything is working as expected. The only real difference you'll see in terms of the event/API is that there's now a messageGroupId and a dedupeId. It might be worth adding an attributes property so you can easily access the groupid/dedupeid but other than that everything works.

I'll update the docs to reflect this.

jamesls avatar Apr 23 '20 15:04 jamesls