From deca50ef3fc445693b29594809e639bb85c7ed4c Mon Sep 17 00:00:00 2001 From: Simon Flandergan Date: Thu, 10 Oct 2019 22:58:35 +0200 Subject: [PATCH] code review changes --- pom.xml | 1 - .../kafka/health/KafkaConsumingHealthIndicator.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 82ac456..3681495 100644 --- a/pom.xml +++ b/pom.xml @@ -36,7 +36,6 @@ 1.6 3.1.0 1.12.0 - 1.18.10 diff --git a/src/main/java/com/deviceinsight/kafka/health/KafkaConsumingHealthIndicator.java b/src/main/java/com/deviceinsight/kafka/health/KafkaConsumingHealthIndicator.java index 983139a..27479d7 100644 --- a/src/main/java/com/deviceinsight/kafka/health/KafkaConsumingHealthIndicator.java +++ b/src/main/java/com/deviceinsight/kafka/health/KafkaConsumingHealthIndicator.java @@ -205,7 +205,7 @@ public class KafkaConsumingHealthIndicator extends AbstractHealthIndicator { goDown(builder); } else { builder.down(new TimeoutException( - "Sending and receiving took longer than " + sendReceiveTimeout + " ms")) + "Sending and receiving took longer than " + sendReceiveTimeout )) .withDetail("topic", topic); }