WIP:refactor: Refined channel-states, introduced `ChannelState` -- ALIGN
authorKai Moritz <kai@juplo.de>
Mon, 4 Mar 2024 14:36:43 +0000 (15:36 +0100)
committerKai Moritz <kai@juplo.de>
Mon, 4 Mar 2024 14:36:43 +0000 (15:36 +0100)
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesConfiguration.java

index 857f8ec..c7cf113 100644 (file)
@@ -39,10 +39,9 @@ import java.util.Properties;
 public class KafkaServicesConfiguration
 {
   @Bean
-  ChannelTaskRunner consumerTaskRunner(
+  ChannelTaskRunner channelTaskRunner(
       ChannelTaskExecutor infoChannelTaskExecutor,
-      ChannelTaskExecutor dataChannelTaskExecutor,
-      InfoChannel infoChannel)
+      ChannelTaskExecutor dataChannelTaskExecutor)
   {
     return new ChannelTaskRunner(
         infoChannelTaskExecutor,
@@ -50,7 +49,7 @@ public class KafkaServicesConfiguration
   }
 
   @Bean
-  ChannelTaskExecutor infoChannelConsumerTaskExecutor(
+  ChannelTaskExecutor infoChannelTaskExecutor(
       ThreadPoolTaskExecutor taskExecutor,
       InfoChannel infoChannel,
       Consumer<String, AbstractMessageTo> infoChannelConsumer,
@@ -80,7 +79,7 @@ public class KafkaServicesConfiguration
   }
 
   @Bean
-  ChannelTaskExecutor dataChannelConsumerTaskExecutor(
+  ChannelTaskExecutor dataChannelTaskExecutor(
       ThreadPoolTaskExecutor taskExecutor,
       DataChannel dataChannel,
       Consumer<String, AbstractMessageTo> dataChannelConsumer,