Skip to content

Commit

Permalink
fix: changed list consumer groups fetching way from all to valid (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
occidere authored Jun 19, 2022
1 parent 62f5fb0 commit ef97d8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ ClusterDescription describeCluster() {
Set<String> listConsumerGroups() {
final Collection<ConsumerGroupListing> groupListing;
try {
groupListing = adminClient.listConsumerGroups().all().get();
groupListing = adminClient.listConsumerGroups().valid().get();
} catch (InterruptedException | ExecutionException e) {
throw new KafkaAdminClientException(e);
}
Expand Down

0 comments on commit ef97d8d

Please sign in to comment.