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:
1b7afcf
)
Fälschlich hartkodiertes Topic gegen Variable getauscht
author
Kai Moritz
<kai@juplo.de>
Fri, 25 Mar 2022 14:27:50 +0000
(15:27 +0100)
committer
Kai Moritz
<kai@juplo.de>
Fri, 25 Mar 2022 14:27:50 +0000
(15:27 +0100)
src/main/java/de/juplo/kafka/SimpleProducer.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/kafka/SimpleProducer.java
b/src/main/java/de/juplo/kafka/SimpleProducer.java
index
357e07a
..
43a7227
100644
(file)
--- a/
src/main/java/de/juplo/kafka/SimpleProducer.java
+++ b/
src/main/java/de/juplo/kafka/SimpleProducer.java
@@
-61,7
+61,7
@@
public class SimpleProducer
final long time = System.currentTimeMillis();
final ProducerRecord<String, String> record = new ProducerRecord<>(
-
"test",
// Topic
+
topic,
// Topic
key, // Key
value // Value
);