`Application` in `ExampleConsumer` umbenannt -- ALIGN
authorKai Moritz <kai@juplo.de>
Tue, 12 Nov 2024 03:03:39 +0000 (04:03 +0100)
committerKai Moritz <kai@juplo.de>
Tue, 12 Nov 2024 03:03:39 +0000 (04:03 +0100)
src/main/java/de/juplo/kafka/ExampleConsumer.java

index e3219c1..d04aa61 100644 (file)
@@ -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[]