Demo: Spring Boot Graceful Shutdown

Demo some pitfalls with graceful shutdown configuration in Spring Boot microservices deployt as a Docker container.
GitHub Repo

Description

Disposability is one of the principals described in “The Twelve Factor App” and it is a best practice for constructing cloud-native applications. It states that service instances should be disposable. And in order to achieve this, fast startup to increase scalability and graceful shutdowns to leave the system in a correct state should be favored.

This demo-project aims to demonstrate some pitfalls with graceful shutdown configuration in Spring Boot microservice deployt as a Docker container.