feat: implemented a listen-method for the chat-service based on a Flux
[demos/kafka/chat] / domain / ChatroomFactory.java
1 package de.juplo.kafka.chat.backend.domain;
2
3 import java.util.UUID;
4
5
6 public interface ChatroomFactory<Strategy extends PersistenceStrategy>
7 {
8   Chatroom createChatroom(UUID id, String name);
9   Chatroom restoreChatroom(UUID id, String name, Strategy strategy);
10 }