From 218d91d58a119428c0a51d2439777cd7ede223c7 Mon Sep 17 00:00:00 2001 From: Christian Ingenhaag Date: Fri, 15 Mar 2024 15:07:16 +0100 Subject: [PATCH] feat: (DHEI-15238) Add graceful shutdown with kafka producing equivalent timeout --- src/main/resources/application.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index c3d2088..9c9ab7a 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -10,6 +10,12 @@ spring: url: ${STARLIGHT_REPORTING_REDIS_URL} main: banner-mode: off + lifecycle: + timeout-per-shutdown-phase: ${STARLIGHT_PUBLISHING_TIMEOUT_MS:30000}ms + +server: + shutdown: graceful + logging: level: root: ${LOG_LEVEL:INFO}