Hello everyone I can't find a way to provide a "graceful shutdown" in Nest microservices, in particular using NATS.
Expected behavior:
- The application in kubernetes received a 'SIGTERM' signal.
- stops listening for new incoming requests.
- service of accepted requests is completed and a response is given.
- the application closes all connections and shuts down.