nestjs-sqs icon indicating copy to clipboard operation
nestjs-sqs copied to clipboard

How to implemente graceful shutdown

Open jaizquierdogalan opened this issue 3 years ago • 1 comments

Hi,

I would like to know how to implement a graceful shutdown because I run a long process and in a deploy de SQS message is waiting as "in transit". The key is to implement a graceful shutdown with flying messages and move to available.

jaizquierdogalan avatar Oct 18 '21 14:10 jaizquierdogalan

You make it with verify if exists messages in the queues.

carloserocha avatar May 07 '22 23:05 carloserocha