projects
/
demos
/
kafka
/
training
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0defe03
)
`Application` in `ExampleConsumer` umbenannt -- ALIGN
author
Kai Moritz
<kai@juplo.de>
Tue, 12 Nov 2024 03:03:39 +0000
(
04:03
+0100)
committer
Kai Moritz
<kai@juplo.de>
Tue, 12 Nov 2024 03:03:39 +0000
(
04:03
+0100)
src/main/java/de/juplo/kafka/ExampleConsumer.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/kafka/ExampleConsumer.java
b/src/main/java/de/juplo/kafka/ExampleConsumer.java
index
e3219c1
..
d04aa61
100644
(file)
--- 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[]