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:
b405212
)
`Application` in `ExampleProducer` umbenannt -- ALIGN
author
Kai Moritz
<kai@juplo.de>
Tue, 12 Nov 2024 02:33:45 +0000
(
03:33
+0100)
committer
Kai Moritz
<kai@juplo.de>
Tue, 12 Nov 2024 02:33:45 +0000
(
03:33
+0100)
src/main/java/de/juplo/kafka/ExampleProducer.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/kafka/ExampleProducer.java
b/src/main/java/de/juplo/kafka/ExampleProducer.java
index
5e123dd
..
a64dfc4
100644
(file)
--- 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<String, String> 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[]