We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 06afdea + d7a946b commit 7ac7d33Copy full SHA for 7ac7d33
src/main/kotlin/com/omarsmak/kafka/consumer/lag/monitoring/client/impl/KafkaConsumerLagJavaClient.kt
@@ -31,7 +31,7 @@ internal class KafkaConsumerLagJavaClient (
31
val offsets = javaAdminClient.listConsumerGroupOffsets(consumerGroup)
32
.partitionsToOffsetAndMetadata()
33
.get()
34
- if (offsets == null || offsets.isEmpty())
+ if (offsets == null)
35
throw KafkaConsumerLagClientException("Consumer group `$consumerGroup` does not exist in the Kafka cluster.")
36
37
return getConsumerOffsetsPerTopic(offsets)
0 commit comments