From: Kai Moritz Date: Mon, 8 Jul 2024 07:08:44 +0000 (+0200) Subject: popular: 1.4.0 - Log-message for sending logs epoch-timestamp X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=bebb8cd0c97e5a3eba8389a158d206da307e66df;p=demos%2Fkafka%2Fwordcount popular: 1.4.0 - Log-message for sending logs epoch-timestamp --- diff --git a/src/test/java/de/juplo/kafka/wordcount/popular/TestData.java b/src/test/java/de/juplo/kafka/wordcount/popular/TestData.java index b4b8e4f..e26d532 100644 --- a/src/test/java/de/juplo/kafka/wordcount/popular/TestData.java +++ b/src/test/java/de/juplo/kafka/wordcount/popular/TestData.java @@ -151,7 +151,11 @@ class TestData { getInputMessages().forEach(message -> { - log.info("Sending@{}: {} -> {}", message.time, message.key, message.value); + log.info( + "Sending@{}: {} -> {}", + message.time.toEpochMilli(), + message.key, + message.value); consumer.accept(message.time, new KeyValue<>(message.key, message.value)); }); }