+++ /dev/null
-package de.juplo.kafka;
-
-import lombok.extern.slf4j.Slf4j;
-import org.springframework.boot.SpringApplication;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.kafka.annotation.KafkaListener;
-
-// tag::supersimple[]
-@SpringBootApplication
-@Slf4j
-public class Application
-{
- @KafkaListener(id = "supersimple", topics = "test")
- public void recieve(String message)
- {
- log.info("Recieved message: {}", message);
- }
-
- public static void main(String[] args)
- {
- SpringApplication.run(Application.class, args);
- }
-}
-// end::supersimple[]
--- /dev/null
+package de.juplo.kafka;
+
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.kafka.annotation.KafkaListener;
+
+// tag::supersimple[]
+@SpringBootApplication
+@Slf4j
+public class Application
+{
+ @KafkaListener(id = "supersimple", topics = "test")
+ public void recieve(String message)
+ {
+ log.info("Recieved message: {}", message);
+ }
+
+ public static void main(String[] args)
+ {
+ SpringApplication.run(Application.class, args);
+ }
+}
+// end::supersimple[]