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:
04d823a
)
Spring-Boot findet entsprechend benannte Methoden automatisch
author
Kai Moritz
<kai@juplo.de>
Thu, 26 Sep 2024 12:17:13 +0000
(14:17 +0200)
committer
Kai Moritz
<kai@juplo.de>
Thu, 26 Sep 2024 12:17:13 +0000
(14:17 +0200)
src/main/java/de/juplo/kafka/ApplicationConfiguration.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/kafka/ApplicationConfiguration.java
b/src/main/java/de/juplo/kafka/ApplicationConfiguration.java
index
132413c
..
9ffe585
100644
(file)
--- a/
src/main/java/de/juplo/kafka/ApplicationConfiguration.java
+++ b/
src/main/java/de/juplo/kafka/ApplicationConfiguration.java
@@
-26,7
+26,7
@@
public class ApplicationConfiguration
kafkaProducer);
}
- @Bean
(destroyMethod = "close")
+ @Bean
public KafkaProducer<String, String> kafkaProducer(ApplicationProperties properties)
{
Properties props = new Properties();