Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws-lambda-sqs-lambda - FIFO Support #976

Open
dextel2 opened this issue Jun 9, 2023 Discussed in #974 · 1 comment
Open

aws-lambda-sqs-lambda - FIFO Support #976

dextel2 opened this issue Jun 9, 2023 Discussed in #974 · 1 comment

Comments

@dextel2
Copy link

dextel2 commented Jun 9, 2023

Discussed in #974

Originally posted by dextel2 June 7, 2023
I was wondering if we have support for FIFO File processing, say.

I have first lambda function which is trigged if an object is dropped in a S3 bucket, which further on goes to processing in the second lambda function and meanwhile I upload another object in the same S3 bucket but this time the second object is completed in process and then the first object is processed.

So I was wondering if there is any way to process file sequentially i.e. FIFO.

@biffgaut
Copy link
Contributor

biffgaut commented Jul 7, 2023

I don't think what you're asking for is possible - event handling for objects dropped in an S3 bucket are not FIFO. Beyond that, if two different Lambda functions are processing 2 different objects there will always be a risk the wrong one finishes first. Setting Lambda Concurrency to 1 will avoid one Lambda execution passing another, then you might find some help in this discussion on this topic - #974 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants