awslabs / amazon-sqs-java-extended-client-lib

An extension to the Amazon SQS client that enables sending and receiving messages up to 2GB via Amazon S3.
Apache License 2.0
209 stars 109 forks source link

Consuming SQSEvent from lambda #62

Closed gyoga99 closed 3 years ago

gyoga99 commented 3 years ago

When consuming large payload event from SQS in aws lambda, should we build logic to get the payload from S3 and process?

adam-aws commented 3 years ago

You can have a look at this issue #31 and the following docs https://awslabs.github.io/aws-lambda-powertools-java/utilities/sqs_large_message_handling/ which might be able to address your use case.

gyoga99 commented 3 years ago

Thanks Adam!

I tried to follow instructions there and ran into this issue https://github.com/awslabs/aws-lambda-powertools-java/issues/320

adam-aws commented 3 years ago

Looks like they have a fix on their end for that issue.

Will close this one, please reopen if needed.

gyoga99 commented 3 years ago

Thank you!