From 9aa68af63307c5d1ddadb0f0c9038a603d12947c Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 3 Feb 2024 20:43:29 +0100 Subject: [PATCH] =?utf8?q?refactor:=20`KafkaServicesApplicationRunner`=20a?= =?utf8?q?ufger=C3=A4umt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../implementation/kafka/KafkaServicesApplicationRunner.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesApplicationRunner.java b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesApplicationRunner.java index 44f411f8..69e94c9e 100644 --- a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesApplicationRunner.java +++ b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesApplicationRunner.java @@ -2,7 +2,6 @@ package de.juplo.kafka.chat.backend.implementation.kafka; import jakarta.annotation.PreDestroy; import lombok.RequiredArgsConstructor; -import lombok.extern.slf4j.Slf4j; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationRunner; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; @@ -15,14 +14,13 @@ import org.springframework.stereotype.Component; havingValue = "kafka") @Component @RequiredArgsConstructor -@Slf4j public class KafkaServicesApplicationRunner implements ApplicationRunner { private final ConsumerTaskRunner consumerTaskRunner; @Override - public void run(ApplicationArguments args) throws Exception + public void run(ApplicationArguments args) { consumerTaskRunner.executeConsumerTasks(); } -- 2.20.1