AWS Lambda functions have a bunch of event sources but SQS ain't one.
Why is that? I would have thought it was a good fit.
On 28 JUN 2018 AWS Lambda Adds Amazon Simple Queue Service to Supported Event Sources.
To some extent; yes I do agree with your view point.
But If you really think of difference between SQS and SNS is that (as John rightly pointed out) SQS is supposed to make things asynchronus... It is like a queue which can be consumed when needed. Queue to be consumed whenever suppose Agent is available. SQS is to maintain workflows which can have lots of lag between different activities. For close to realtime operations SNS/Kinesis are better solutions.
If you want Lambda to be invoked; I think better architecture would be to send message to SNS and let Lambda get invoked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With