From: Kai Moritz Date: Wed, 2 Nov 2022 17:56:49 +0000 (+0100) Subject: WIP:StringDeserializer X-Git-Tag: simple-consumer--json-DEPRECATED~17 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=28db8546a76bc7463edb5d17b18488cb7abcb7d8;p=demos%2Fkafka%2Ftraining WIP:StringDeserializer --- diff --git a/src/main/java/de/juplo/kafka/ApplicationConfiguration.java b/src/main/java/de/juplo/kafka/ApplicationConfiguration.java index 23e9bec..8849bf6 100644 --- a/src/main/java/de/juplo/kafka/ApplicationConfiguration.java +++ b/src/main/java/de/juplo/kafka/ApplicationConfiguration.java @@ -18,7 +18,7 @@ public class ApplicationConfiguration { @Bean public SimpleConsumer endlessConsumer( - Consumer kafkaConsumer, + Consumer kafkaConsumer, ExecutorService executor, KafkaProperties kafkaProperties, ApplicationProperties applicationProperties) @@ -38,7 +38,7 @@ public class ApplicationConfiguration } @Bean(destroyMethod = "close") - public Consumer kafkaConsumer(ConsumerFactory factory) + public Consumer kafkaConsumer(ConsumerFactory factory) { return factory.createConsumer(); }