Hi @Julija ,
I’m hoping to get a bit more info to get the the right answer. Can you elaborate on what you mean by this?
There is no awaiting for the termination and messages finish in the error queue.
Also, how are you triggering the graceful shutdown? Are you using/wanting to use one of these options or something else?
https://www.baeldung.com/spring-boot-shutdown
thank you!