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:
d0ec626
)
Das konfigurierte Topic wird auch verwendet
author
Kai Moritz
<kai@juplo.de>
Fri, 4 Nov 2022 11:50:11 +0000
(12:50 +0100)
committer
Kai Moritz
<kai@juplo.de>
Mon, 7 Nov 2022 20:28:55 +0000
(21:28 +0100)
src/main/java/de/juplo/kafka/SimpleConsumer.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/kafka/SimpleConsumer.java
b/src/main/java/de/juplo/kafka/SimpleConsumer.java
index
5557a4d
..
9741e67
100644
(file)
--- a/
src/main/java/de/juplo/kafka/SimpleConsumer.java
+++ b/
src/main/java/de/juplo/kafka/SimpleConsumer.java
@@
-44,8
+44,8
@@
public class SimpleConsumer
{
try
{
- log.info("{} - Subscribing to topic
test", id
);
- consumer.subscribe(Arrays.asList(
"test"
));
+ log.info("{} - Subscribing to topic
{}", id, topic
);
+ consumer.subscribe(Arrays.asList(
topic
));
running = true;
while (true)