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.32k stars 40.71k forks source link

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

Open bhuyan1703 opened 1 week ago

bhuyan1703 commented 1 week 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 1 week ago

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

snicoll commented 1 week 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 1 week ago

This may also be a duplicate of #21426

spring-projects-issues commented 4 days ago

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.