nestjs-sqs
nestjs-sqs copied to clipboard
How to implemente graceful shutdown
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.
You make it with verify if exists messages in the queues.