1

Can we Enqueue in SQS FIFO through Lambda function? if not what is the alternative to achieve this?

Farhan
  • 47
  • 7
  • Please take a look at this question. https://stackoverflow.com/questions/53416890/cant-trigger-lambdas-on-sqs-fifo – qkhanhpro May 16 '19 at 10:33
  • Could you please clarify what you mean by "Enqueue in SQS FIFO through Lambda function"? Are you wishing to send a message to an Amazon SQS queue from a Lambda function, or are you wanting to trigger an AWS Lambda function when a message is added to an SQS queue? Feel free to edit your question to add more details. – John Rotenstein May 16 '19 at 11:40
  • Yeah sure,it means that i wish to send a message to an AMAZON SQS queue from a Lambda function.can i achieve this instead of using kinesis/cloudwatch ? – Farhan May 18 '19 at 18:22
  • **November 2019:** AWS Lambda now supports Lambda triggers. See: [AWS Lambda Supports Amazon SQS FIFO (First-In-First-Out) as an Event Source](https://aws.amazon.com/about-aws/whats-new/2019/11/aws-lambda-supports-amazon-sqs-fifo-event-source/) – John Rotenstein Nov 20 '19 at 01:17

1 Answers1

0

Yes you can.

Here is an example.

This is a java example of showing you how to send messages to your FIFO queue.

Source: I'm currently using a lambda to add messages to my SQS FIFO Queue

Alex
  • 85
  • 1
  • 6