Keepalive False
The problem Spring Boot containers still receiving requests after a shutdown is triggered in Docker Swarm, leading to errors. Background We have a production environment with Docker Swarm, based mainly on Spring Boot microservices. The containers communicate to each other using HTTP (with RestTemplate) through the Docker Swarm overlay network. […]

Docker Swarm, persistent connections and Spring Boot graceful shutdown