From: Kai Moritz Date: Mon, 4 Mar 2024 14:36:43 +0000 (+0100) Subject: WIP:refactor: Refined channel-states, introduced `ChannelState` -- ALIGN X-Git-Tag: rebase--2024-03-05--09-07~2 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=69f72585f80556690bdd614a8bf4fa22929c4c64;p=demos%2Fkafka%2Fchat WIP:refactor: Refined channel-states, introduced `ChannelState` -- ALIGN --- 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,