From e8548c9fd26271defecee3a4f6a70820edd0ac16 Mon Sep 17 00:00:00 2001 From: Thomas Burnett Date: Wed, 18 Dec 2024 12:36:57 +0100 Subject: [PATCH] Attempt reading from signal topic --- ebms-provider/src/main/kotlin/no/nav/emottak/ebms/App.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ebms-provider/src/main/kotlin/no/nav/emottak/ebms/App.kt b/ebms-provider/src/main/kotlin/no/nav/emottak/ebms/App.kt index 3a0de14f..a6b38316 100644 --- a/ebms-provider/src/main/kotlin/no/nav/emottak/ebms/App.kt +++ b/ebms-provider/src/main/kotlin/no/nav/emottak/ebms/App.kt @@ -55,7 +55,8 @@ fun main() = SuspendApp { this.maxChunkSize = 100000 }) - if (getEnvVar("ASYNC_RECEIVER", "false").toBoolean()) { + if (getEnvVar("ASYNC_RECEIVER", "true").toBoolean()) { + log.debug("Starting signal message receiver") SignalReceiver(config.kafka).schedule() }