Partition & Offset stehen eindeutig in der Log-Meldung grundlagen/simple-producer--2025-01-signal
authorKai Moritz <kai@juplo.de>
Mon, 20 Jan 2025 16:00:46 +0000 (17:00 +0100)
committerKai Moritz <kai@juplo.de>
Tue, 21 Jan 2025 20:13:37 +0000 (21:13 +0100)
src/main/java/de/juplo/kafka/ExampleProducer.java

index bcd3d40..772fc2b 100644 (file)
@@ -79,7 +79,7 @@ public class ExampleProducer
         // HANDLE SUCCESS
         produced++;
         log.debug(
-            "{} - Sent message {}={}, partition={}:{}, timestamp={}, latency={}ms",
+            "{} - Sent message {}={}, partition={}, offset={}, timestamp={}, latency={}ms",
             id,
             key,
             value,