Does Lambda automatically check the message MD5 checksum when using an SQS trigger?

0

Hi

I have found that the .NET SQS SDK automatically verifies the MD5 checksum of messages when retrieving messages from an SQS queue (Source code link). Does anyone know if Lambda will automatically do the same when using an SQS trigger to process messages?

Many thanks

1 Answer
0

Hi,

Lambda runtime execute the code that you define it to use. So, if your Lambda execute the code that you point to , yes, it will check md5 checksum by executing this code.

It's really dependent on what you choose: you could write your own code and not use the corresponding AWS SDK in your language of choice. In that case, you could do your own REST call to the SQS endpoint and decide to not check the md5 checksum (which is a bad idea, we agree...). But, it's possible.

So, in summary, check of md5 checksum is left in your hands.

Best,

Didier

profile pictureAWS
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions