From: Kai Moritz Date: Fri, 14 Apr 2023 08:17:21 +0000 (+0200) Subject: WIP X-Git-Tag: kafkadata~30 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=f0d629a1d8597e0a0091a0a9474d9654e211b2d8;p=demos%2Fkafka%2Fchat WIP --- diff --git a/src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/ChatHomeConsumer.java b/src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/ChatHomeConsumer.java index b6f5e426..21a6e1a7 100644 --- a/src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/ChatHomeConsumer.java +++ b/src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/ChatHomeConsumer.java @@ -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 consumer;