6f61592ce3a3833a1304a98282c975f717242f0b
[demos/kafka/chat] /
1 package de.juplo.kafka.chat.backend.implementation.kafka.messages;
2
3
4 import lombok.Getter;
5 import lombok.RequiredArgsConstructor;
6
7
8 @RequiredArgsConstructor
9 public class AbstractMessageTo
10 {
11   public enum ToType {
12     COMMAND_CREATE_CHATROOM,
13     EVENT_CHATMESSAGE_RECEIVED,
14   }
15
16   @Getter
17   private final ToType type;
18 }