gmetzker / serverless-plugin-lambda-dead-letter

serverless plugin that can configure a lambda with a dead letter queue or topic
MIT License
46 stars 15 forks source link

Short hand syntax should support FIFO queues #25

Open gmetzker opened 7 years ago

gmetzker commented 7 years ago

SQS recently added support for 'fifo' queues. If Cloudformation supports this perhaps the plugin can support it to. Use a regex match .fifo$ to see if the queue name ends with .fifo.

If the queue name ends with .fifo then create a fifo queue by:

Potential syntax

  # 'functions' in serverless.yml

functions:
  createUser: # Function name
    handler: handler.createUser # Reference to function 'createUser' in code

    deadLetter:
      sqs:  createUser-dl-queue.fifo
gmetzker commented 7 years ago

FIFO queues are not support by Cloudformation at this time. Once this is added to CF we can fix this.

kitsunde commented 7 years ago

It is now: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html

jayasai470 commented 4 years ago

@gmetzker any work going into this plugin for support of fifo queues ?

jantpedraza commented 4 years ago

Hi! Same here, I would really like to use this plugin using FIFO queues. Any plan to update it?

timothy-mugayi commented 4 years ago

There's a real need to support FIFO for DLQ