I'm in a situation where I need to process some notifications from a SNS topic. I'm thinking about processing this message in a Lambda function. I have to implementation in mind
- Subscribe Lambda function to the topic and process the notification
- Subscribe a SQS queue (Fifo) to the topic and then Lambda function will be invoked based on the notifications in the queue.
Order of the message is import for the consumer application. Keeping this in mind which one seems to be a better implementation. Any pointers/explanation would be helpful.