WIP
authorKai Moritz <kai@juplo.de>
Wed, 2 Nov 2022 17:44:27 +0000 (18:44 +0100)
committerKai Moritz <kai@juplo.de>
Wed, 2 Nov 2022 17:44:27 +0000 (18:44 +0100)
src/main/java/de/juplo/kafka/Application.java

index ab357c7..862c5f2 100644 (file)
@@ -46,12 +46,6 @@ public class Application implements ApplicationRunner
     log.info("SimpleConsumer finished its work");
   }
 
-  @Bean(destroyMethod = "close")
-  public Consumer<String, Message> kafkaConsumer(ConsumerFactory<String, Message> factory)
-  {
-    return factory.createConsumer();
-  }
-
 
   public static void main(String[] args)
   {