Hi 曾雪薇,

Could you please provide a flame graph or more information about the shutdown 
process? I didn't see any connection between this issue and the message trace 
based on your description.

Your response would be highly appreciated.
SSpirits
Email:ad...@lv5.moe<mailto:ad...@lv5.moe>
On 20 Mar 2023 at 1:51 PM +0800, 曾雪薇 <17711423...@163.com>, wrote:
I'm using the client version 4.9.3, and I've added message trace for both 
producer and consumer
I added shutdownhook to the project to complete the graceful exit of the 
project, which includes producer and consumer stops. However, the process 
cannot exit quickly during execution. The maximum duration is one minute. The 
stack information shows that the thread is blocked for a long time, causing the 
process to exit after about a minute.
How can I quickly shut down the MQ client

Reply via email to