NG
authorKai Moritz <kai@juplo.de>
Fri, 18 Aug 2023 13:49:23 +0000 (15:49 +0200)
committerKai Moritz <kai@juplo.de>
Fri, 18 Aug 2023 15:18:41 +0000 (17:18 +0200)
src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/ChatMessageChannel.java

index f6e7091..b473a41 100644 (file)
@@ -79,7 +79,7 @@ public class ChatMessageChannel implements Runnable, ConsumerRebalanceListener
     CreateChatRoomRequestTo createChatRoomRequestTo = CreateChatRoomRequestTo.of(name);
     return Mono.create(sink ->
     {
-      ProducerRecord<String, CreateChatRoomRequestTo> record =
+      ProducerRecord<String, AbstractTo> record =
           new ProducerRecord<>(
               topic,
               chatRoomId.toString(),