NEU
authorKai Moritz <kai@juplo.de>
Thu, 20 Apr 2023 12:27:48 +0000 (14:27 +0200)
committerKai Moritz <kai@juplo.de>
Thu, 20 Apr 2023 12:27:48 +0000 (14:27 +0200)
src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/ChatRoomChannel.java

index 2a34c81..97ee988 100644 (file)
@@ -37,7 +37,7 @@ public class ChatRoomChannel implements Runnable
       String name)
   {
     int shard = this.shardingStrategy.selectShard(chatRoomId);
-    ChatRoomTo chatRoomTo = ChatRoomTo.of(chatRoomId, name, shard);
+    ChatRoomTo chatRoomTo = ChatRoomTo.of(chatRoomId.toString(), name, shard);
     return Mono.create(sink ->
     {
       ProducerRecord<Integer, ChatRoomTo> record =