WIP
authorKai Moritz <kai@juplo.de>
Wed, 13 Sep 2023 20:54:00 +0000 (22:54 +0200)
committerKai Moritz <kai@juplo.de>
Wed, 13 Sep 2023 20:54:00 +0000 (22:54 +0200)
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesConfiguration.java

index 75d011f..621ab20 100644 (file)
@@ -59,13 +59,13 @@ public class KafkaServicesConfiguration
   @Bean
   KafkaServicesApplicationRunner.WorkAssignor workAssignor(
       ChatBackendProperties properties,
-      ChatRoomChannel chatRoomChannel)
+      DataChannel dataChannel)
   {
     return consumer ->
     {
       List<String> topics =
-          List.of(properties.getKafka().getChatRoomChannelTopic());
-      consumer.subscribe(topics, chatRoomChannel);
+          List.of(properties.getKafka().getDataChannelTopic());
+      consumer.subscribe(topics, dataChannel);
     };
   }