spring-projects / spring-boot

Spring Boot helps you to create Spring-powered, production-grade applications and services with absolute minimum fuss.
https://spring.io/projects/spring-boot
Apache License 2.0
75.19k stars 40.69k forks source link

Spring Boot- Graceful shutdown is not working with spring boot version 3.3.5 #43087

Open bhuyan1703 opened 2 days ago

bhuyan1703 commented 2 days ago

Hi, I have upgraded my spring-boot-starter-parent version 3.1.5 to 3.2.5 in my spring boot project. But with this spring boot version graceful shut down is not working. Kindly suggest!

I have added the below mentioned properties in my yaml file. server: shutdown: "graceful" spring: lifecycle: timeout-per-shutdown-phase: "4200s"

Kindly Note: I am using spring-boot-starter-webflux instead of spring-boot-starter-web dependency.

Thanks.

philwebb commented 2 days ago

Could you please provide a sample application along with the steps needed to replicate the issue. Thanks.

snicoll commented 2 days ago

When you do, please make sure to show that the app works with 3.1.5 and fails with 3.2.5.

philwebb commented 17 hours ago

This may also be a duplicate of #21426