From 0ed049f4ee5a05bcea26d504f319a45ff26a8ca2 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 12 Nov 2024 03:33:45 +0100 Subject: [PATCH] `Application` in `ExampleProducer` umbenannt -- ALIGN --- src/main/java/de/juplo/kafka/ExampleProducer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/juplo/kafka/ExampleProducer.java b/src/main/java/de/juplo/kafka/ExampleProducer.java index 5e123dd..a64dfc4 100644 --- a/src/main/java/de/juplo/kafka/ExampleProducer.java +++ b/src/main/java/de/juplo/kafka/ExampleProducer.java @@ -14,7 +14,7 @@ import org.springframework.util.concurrent.ListenableFuture; // tag::supersimple[] @Slf4j @SpringBootApplication -public class Application implements ApplicationRunner +public class ExampleProducer implements ApplicationRunner { @Autowired KafkaTemplate kafkaTemplate; @@ -46,7 +46,7 @@ public class Application implements ApplicationRunner public static void main(String[] args) { - SpringApplication.run(Application.class, args); + SpringApplication.run(ExampleProducer.class, args); } } // end::supersimple[] -- 2.20.1