WIP:ALIGN
authorKai Moritz <kai@juplo.de>
Thu, 14 Sep 2023 22:58:31 +0000 (00:58 +0200)
committerKai Moritz <kai@juplo.de>
Thu, 14 Sep 2023 22:58:31 +0000 (00:58 +0200)
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesConfiguration.java

index 997b5f1..787aec8 100644 (file)
@@ -51,14 +51,14 @@ public class KafkaServicesConfiguration
   ConsumerTaskExecutor infoChannelConsumerTaskExecutor(
       ThreadPoolTaskExecutor taskExecutor,
       InfoChannel infoChannel,
-      Consumer<String, AbstractMessageTo> dataChannelConsumer,
+      Consumer<String, AbstractMessageTo> infoChannelConsumer,
       ConsumerTaskExecutor.WorkAssignor workAssignor)
   {
     return new ConsumerTaskExecutor(
         taskExecutor,
         infoChannel,
-        dataChannelConsumer,
-        workAssignor);
+        infoChannelConsumer,
+        (consumer) -> { /* No work to assign here */ });
   }
 
   @Bean