From bdb5b7617ff687ef873decc8c42d0ff43fbd6fac Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sun, 22 Jan 2023 18:27:07 +0100 Subject: [PATCH] WIP --- .../chat/backend/persistence/kafka/KafkaChatRoomService.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/KafkaChatRoomService.java b/src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/KafkaChatRoomService.java index a0f1643d..5ab23fe9 100644 --- a/src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/KafkaChatRoomService.java +++ b/src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/KafkaChatRoomService.java @@ -6,10 +6,13 @@ import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import java.time.LocalDateTime; +import java.util.LinkedHashMap; public class KafkaChatRoomService implements ChatRoomService { + private final LinkedHashMap messages = null; + @Override public Message persistMessage(Message.MessageKey key, LocalDateTime timestamp, String text) { -- 2.20.1