We can't guarantee that the application won't generate stuck messages to be saved by the rescuer, but we can make a best effort:
- Stop producing messages when the application begins to shutdown
- Hold the shutdown for a maximum amount of seconds in an attempt to drain the publisher and the acknowledger
We can't guarantee that the application won't generate stuck messages to be saved by the rescuer, but we can make a best effort: