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:
7ba5509
)
RÜCKBAU für Rebase der Folge-Branches
author
Kai Moritz
<kai@juplo.de>
Fri, 14 Mar 2025 15:50:09 +0000
(16:50 +0100)
committer
Kai Moritz
<kai@juplo.de>
Mon, 17 Mar 2025 15:58:03 +0000
(16:58 +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
c5a5a80
..
25e885d
100644
(file)
--- a/
src/main/java/de/juplo/kafka/ExampleProducer.java
+++ b/
src/main/java/de/juplo/kafka/ExampleProducer.java
@@
-94,6
+94,7
@@
public class ExampleProducer implements Runnable
if (e == null)
{
// HANDLE SUCCESS
+ produced++;
log.debug(
"{} - Sent message {}={}, partition={}, offset={}, timestamp={}, latency={}ms",
id,
@@
-120,7
+121,6
@@
public class ExampleProducer implements Runnable
});
long now = System.currentTimeMillis();
- produced++;
log.trace(
"{} - Queued message {}={}, latency={}ms",
id,