How does Dubbo stop gracefully?

Alibaba cloud Q & A 2022-02-13 07:56:06 阅读数:375

dubbo stop gracefully

Dubbo How to shut down gracefully ?




Take the answer 1:

Dubbo It's through JDK Of ShutdownHook To complete the elegant shutdown , So if you use kill -9 PID Wait for a forced shutdown command , Elegant shutdown will not be performed , Only through kill PID when , Will execute .


copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130756046131.html