1

As per my existing solution I have two lambda function which gets triggered by the different SQS message and create a folder structure in S3.

Now, I have the requirement where I need to use the single SQS message to trigger both the lambda function.

Is it possible to trigger multiple lambda function via a single SQS message if yes then can you please explain the process and how efficient it would be?

If is there any other approach I can follow please let me know.

Thanks!

1
  • S3 trigger --> SNS --> 2 x Lambda. Or, if you particularly want SQS in there, S3 trigger --> SNS --> 2 x SQS --> Lambda Commented Aug 12, 2022 at 6:32

1 Answer 1

3

No, you can't do that. The best way is to create fan out setup with SNS + two SQS queues.

Otherwise, you have to develop other solution, e.g. one lambda gets triggered by sqs, and then invokes the second one passing the message as input.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.