From 69f72585f80556690bdd614a8bf4fa22929c4c64 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Mon, 4 Mar 2024 15:36:43 +0100 Subject: [PATCH] WIP:refactor: Refined channel-states, introduced `ChannelState` -- ALIGN --- .../implementation/kafka/KafkaServicesConfiguration.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesConfiguration.java b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesConfiguration.java index 857f8ecd..c7cf113a 100644 --- a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesConfiguration.java +++ b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesConfiguration.java @@ -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 infoChannelConsumer, @@ -80,7 +79,7 @@ public class KafkaServicesConfiguration } @Bean - ChannelTaskExecutor dataChannelConsumerTaskExecutor( + ChannelTaskExecutor dataChannelTaskExecutor( ThreadPoolTaskExecutor taskExecutor, DataChannel dataChannel, Consumer dataChannelConsumer, -- 2.20.1