From da44783c479276dce74bf83821c2447c0dd3fdcf Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 12 Nov 2024 04:03:39 +0100 Subject: [PATCH] `Application` in `ExampleConsumer` umbenannt -- ALIGN --- src/main/java/de/juplo/kafka/ExampleConsumer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/juplo/kafka/ExampleConsumer.java b/src/main/java/de/juplo/kafka/ExampleConsumer.java index e3219c1..d04aa61 100644 --- a/src/main/java/de/juplo/kafka/ExampleConsumer.java +++ b/src/main/java/de/juplo/kafka/ExampleConsumer.java @@ -8,7 +8,7 @@ import org.springframework.kafka.annotation.KafkaListener; // tag::supersimple[] @SpringBootApplication @Slf4j -public class Application +public class ExampleConsumer { @KafkaListener(id = "supersimple", topics = "test") public void recieve(String message) @@ -18,7 +18,7 @@ public class Application public static void main(String[] args) { - SpringApplication.run(Application.class, args); + SpringApplication.run(ExampleConsumer.class, args); } } // end::supersimple[] -- 2.20.1