refactor: `KafkaServicesApplicationRunner` aufgerÀumt
authorKai Moritz <kai@juplo.de>
Sat, 3 Feb 2024 19:43:29 +0000 (20:43 +0100)
committerKai Moritz <kai@juplo.de>
Sat, 3 Feb 2024 19:45:33 +0000 (20:45 +0100)
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesApplicationRunner.java

index 44f411f..69e94c9 100644 (file)
@@ -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();
   }