BUG REPORT: EventBridge Scheduler does not allow FIFO Dead Letter Queues

1

I believe I found a defect in the new EventBridge Scheduler product:

  1. FIFO SQS queues require FIFO deal letter queues (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html )

  2. When attempting to create a Schedule that targets a FIFO SQS queue, if you specify a FIFO dead letter queue, then the request fails because the regex used to validate the DLQ ARN does not allow for a ".fifo" suffix.

已提問 10 個月前檢視次數 558 次
3 個答案
2
已接受的答案

Currently, EventBridge Scheduler does not support using a FIFO queue as your schedule's DLQ.

[+] https://docs.aws.amazon.com/scheduler/latest/UserGuide/configuring-schedule-dlq.html#configuring-schedule-dlq-create-queue

AWS
已回答 10 個月前
  • It would be nice if the documentation explicitly stated that "DLQs are supported by Scheduler if your target is a FIFO SQS Queue."

    Would also be nice to know if this is a feature being pursued or if this is the permanent state of this product.

0

Hi, AWS service teams usually do not monitor re:Post re. bugs. To get yours fixed, you have to open a Support ticket via the AWS console of your account. Best, Didier

profile pictureAWS
專家
已回答 10 個月前
  • Literally was asked to post the bug report here when I contacted support...

0

For me, this error occured because in the target I configured a DLQ which was FIFO. It looked something like this in Serverless. Removing the last 2 lines and configuring the DLQ via Terraform was the solution for me

    RouteCreateRule:
      Type: AWS::Events::Rule
      Properties:
        EventBusName: ${self:custom.environment.${opt:stage}.EventBridgeBusArn}
        EventPattern:
          detail-type:
            - ROUTE_CREATE
          source:
            - source-value
        Name: ${opt:stage}-route-create-container-hydration-queue-rule
        Targets:
          - Id: ${opt:stage}-route-create-container-hydration-queue-target
            Arn: !Sub ${ssm:/${self:custom.environment.${opt:stage}.environment}/route/create/sqs/arn}
            RetryPolicy:
              MaximumRetryAttempts: ${ssm:/${self:custom.environment.${opt:stage}.environment}/default/sqs/retry/attempts}
              MaximumEventAgeInSeconds: ${ssm:/${self:custom.environment.${opt:stage}.environment}/default/sqs/retry/max/age}
            DeadLetterConfig:
              Arn: !Sub ${ssm:/${self:custom.environment.${opt:stage}.environment}/route/create/dlq/arn}
Jarrett
已回答 19 小時前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南