WIP
authorKai Moritz <kai@juplo.de>
Sat, 16 Sep 2023 19:58:30 +0000 (21:58 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 16 Sep 2023 19:58:30 +0000 (21:58 +0200)
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaChatHomeService.java
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesConfiguration.java

index 2984d8c..9409716 100644 (file)
@@ -64,7 +64,7 @@ public class KafkaChatHomeService implements ChatHomeService
   @Override
   public Mono<String[]> getShardOwners()
   {
-    infoChannel.getShardOwners();
+    return infoChannel.getShardOwners();
   }
 
   int selectShard(UUID chatRoomId)
index 784ffa5..7795516 100644 (file)
@@ -124,7 +124,8 @@ public class KafkaServicesConfiguration
     return new InfoChannel(
         properties.getKafka().getInfoChannelTopic(),
         producer,
-        infoChannelConsumer);
+        infoChannelConsumer,
+        properties.getKafka().getInstanceUri());
   }
 
   @Bean