WIP
authorKai Moritz <kai@juplo.de>
Sun, 22 Jan 2023 17:27:07 +0000 (18:27 +0100)
committerKai Moritz <kai@juplo.de>
Wed, 25 Jan 2023 17:52:12 +0000 (18:52 +0100)
src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/KafkaChatRoomService.java

index a0f1643..5ab23fe 100644 (file)
@@ -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<Message.MessageKey, Message> messages = null;
+
   @Override
   public Message persistMessage(Message.MessageKey key, LocalDateTime timestamp, String text)
   {