From: Kai Moritz Date: Tue, 12 Nov 2024 02:33:45 +0000 (+0100) Subject: `Application` in `ExampleProducer` umbenannt -- ALIGN X-Git-Tag: spring/supersimple-producer--BRANCH-ENDE~4 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=0ed049f4ee5a05bcea26d504f319a45ff26a8ca2;p=demos%2Fkafka%2Ftraining `Application` in `ExampleProducer` umbenannt -- ALIGN --- 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[]