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:
b284ed3
)
Partition & Offset stehen eindeutig in der Log-Meldung
author
Kai Moritz
<kai@juplo.de>
Mon, 20 Jan 2025 16:03:17 +0000
(17:03 +0100)
committer
Kai Moritz
<kai@juplo.de>
Fri, 14 Mar 2025 15:51:25 +0000
(16:51 +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
553efa1
..
cce3964
100644
(file)
--- a/
src/main/java/de/juplo/kafka/ExampleConsumer.java
+++ b/
src/main/java/de/juplo/kafka/ExampleConsumer.java
@@
-95,7
+95,7
@@
public class ExampleConsumer
String value)
{
consumed++;
- log.info("{} -
{}: {}/{} - {}={}", id, offset, topic, partition
, key, value);
+ log.info("{} -
partition={}-{}, offset={}: {}={}", id, topic, partition, offset
, key, value);
}