WIP
authorKai Moritz <kai@juplo.de>
Fri, 14 Apr 2023 08:17:21 +0000 (10:17 +0200)
committerKai Moritz <kai@juplo.de>
Fri, 14 Apr 2023 08:17:21 +0000 (10:17 +0200)
src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/ChatHomeConsumer.java

index b6f5e42..21a6e1a 100644 (file)
@@ -2,13 +2,12 @@ package de.juplo.kafka.chat.backend.persistence.kafka;
 
 import lombok.RequiredArgsConstructor;
 import lombok.extern.slf4j.Slf4j;
-
-import java.util.function.Consumer;
+import org.apache.kafka.clients.consumer.Consumer;
 
 
 @RequiredArgsConstructor
 @Slf4j
-public class ChatHomeConsumer extends Run
+public class ChatHomeConsumer extends Runnable
 {
   private final Consumer<String, MessageTo> consumer;