From: Kai Moritz Date: Sun, 22 Jan 2023 17:27:07 +0000 (+0100) Subject: WIP X-Git-Tag: wip~8 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=bdb5b7617ff687ef873decc8c42d0ff43fbd6fac;p=demos%2Fkafka%2Fchat WIP --- 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) {