From: Kai Moritz Date: Mon, 9 Jan 2023 21:49:44 +0000 (+0100) Subject: WIP X-Git-Tag: TEST~15 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=4d5794b2623278e68db9bdb06c6fff87ccf2f42c;p=demos%2Fkafka%2Fchat WIP --- diff --git a/src/main/java/de/juplo/kafka/chat/backend/persistence/storage/mongodb/MongoDbStorageStrategy.java b/src/main/java/de/juplo/kafka/chat/backend/persistence/storage/mongodb/MongoDbStorageStrategy.java new file mode 100644 index 00000000..ccf3d696 --- /dev/null +++ b/src/main/java/de/juplo/kafka/chat/backend/persistence/storage/mongodb/MongoDbStorageStrategy.java @@ -0,0 +1,21 @@ +package de.juplo.kafka.chat.backend.persistence.storage.mongodb; + +import de.juplo.kafka.chat.backend.domain.ChatRoom; +import de.juplo.kafka.chat.backend.persistence.StorageStrategy; +import reactor.core.publisher.Flux; + + +public class MongoDbStorageStrategy implements StorageStrategy +{ + @Override + public void write(Flux chatroomFlux) + { + + } + + @Override + public Flux read() + { + return null; + } +}