From 537873ff5ce5ca87aba7be46fd85f27181e3c4b3 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Wed, 2 Nov 2022 18:44:27 +0100 Subject: [PATCH] WIP --- src/main/java/de/juplo/kafka/Application.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/de/juplo/kafka/Application.java b/src/main/java/de/juplo/kafka/Application.java index ab357c7..862c5f2 100644 --- a/src/main/java/de/juplo/kafka/Application.java +++ b/src/main/java/de/juplo/kafka/Application.java @@ -46,12 +46,6 @@ public class Application implements ApplicationRunner log.info("SimpleConsumer finished its work"); } - @Bean(destroyMethod = "close") - public Consumer kafkaConsumer(ConsumerFactory factory) - { - return factory.createConsumer(); - } - public static void main(String[] args) { -- 2.20.1