WIP:StringDeserializer
authorKai Moritz <kai@juplo.de>
Wed, 2 Nov 2022 17:56:49 +0000 (18:56 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 4 Nov 2022 11:52:13 +0000 (12:52 +0100)
src/main/java/de/juplo/kafka/ApplicationConfiguration.java

index 23e9bec..8849bf6 100644 (file)
@@ -18,7 +18,7 @@ public class ApplicationConfiguration
 {
   @Bean
   public SimpleConsumer endlessConsumer(
-      Consumer<String, Message> kafkaConsumer,
+      Consumer<String, String> kafkaConsumer,
       ExecutorService executor,
       KafkaProperties kafkaProperties,
       ApplicationProperties applicationProperties)
@@ -38,7 +38,7 @@ public class ApplicationConfiguration
   }
 
   @Bean(destroyMethod = "close")
-  public Consumer<String, Message> kafkaConsumer(ConsumerFactory<String, Message> factory)
+  public Consumer<String, String> kafkaConsumer(ConsumerFactory<String, String> factory)
   {
     return factory.createConsumer();
   }