1 package de.juplo.kafka.chat.backend.persistence.kafka;
3 import de.juplo.kafka.chat.backend.domain.Message;
4 import lombok.RequiredArgsConstructor;
5 import org.apache.kafka.common.TopicPartition;
8 @RequiredArgsConstructor
9 class ChatRoomActiveMessageHandlingStrategy implements MessageHandlingStrategy
11 private final TopicPartition tp;
14 public MessageHandlingStrategy handleMessage(Message message)
16 chatrooms[tp.partition()].put()