Description
Graceful shutdown refers to the capability of web applications to save data, release connections, cleanly terminate running threads, etc before terminating.
As of Spring Boot 2.3, Spring Boot now supports the graceful shutdown feature for all four embedded web servers (Tomcat, Jetty, Undertow, and Netty) on both servlet and reactive platforms.
Graceful shutdown is also important for software orchestration platform like as Kubernetes, to help maintaining an efficient deployment cycle.