lift icon indicating copy to clipboard operation
lift copied to clipboard

I would like to be able to assign dead letter queue handler in lift

Open Setitch opened this issue 2 years ago • 5 comments

Start from the Use-case

For now we can assign the handler for the queue, but when they fails messages goes to the dead letter queue - would be really nice if we could assign handler for that queue too

Example Config

No response

Implementation Idea

deadHandler: . ?

Setitch avatar Apr 21 '22 10:04 Setitch

Could you detail what you would achieve with this setup?

mnapoli avatar Apr 21 '22 13:04 mnapoli

Sorry for long delay.

I mean i would like to parse them by common lambda that would be handling dead deadletters

Setitch avatar May 10 '22 07:05 Setitch

More details: i have a workflow, that moves the ,,ticket'' from one queue to another (they must be executed in order). But when the ticket goes into deadletter queue, i want to grab it by lambda, try to reexecute it, and if its failing - remove from the deadletters but do some things - close the workflow for the ticket and so on. Without providing the lambda on lift config for dead letter lambda-handler, its quite a task.

Setitch avatar Jul 01 '22 10:07 Setitch

@Setitch did you find any solution? @mnapoli any updates on the issue?

kamalnathlp avatar Aug 12 '22 02:08 kamalnathlp

@kamalnathlp sadly not yet, which is real shame

Setitch avatar Aug 12 '22 07:08 Setitch

DLQ url and arn are now exposed via variables. You can use those to attach a specific lambda handler.

fredericbarthelet avatar Nov 30 '22 09:11 fredericbarthelet