
✅ Springboot graceful shutdown 적용하기서버에 서비스를 반영 할때 서비스를 종료처리해야하는데 종료 시점에 이미 인입된 요청들을 처리 하고 종료되도록 graceful shutdown을 적용해보자. (springboot 2.3 이상부터 graceful shutdown 지원) ✅ application.yaml 추가## springboot application.yaml 수정## graceful shutdown시 얼만큼 대기하도록 할지 셋팅spring: lifecycle: timeout-per-shutdown-phase: 10s server: shutdown: graceful요기 까지 셋팅을 했으면 graceful shutdown이 적용 된거다.하지만 서버에서 kill..
📺 Develop/🌴 Spring
2023. 7. 14. 00:52