Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Jan 6, 2025
1 parent 6962130 commit 02b05b1
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import java.util.stream.Collectors;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
Expand Down Expand Up @@ -93,9 +92,6 @@ public void close() {
*/
public boolean exists(final String groupName) {
final Collection<ConsumerGroupListing> consumerGroups = this.listGroups();
log.info("Found consumer groups: {}", consumerGroups.stream()
.map(ConsumerGroupListing::groupId)
.collect(Collectors.joining(", ")));
return consumerGroups.stream()
.anyMatch(c -> c.groupId().equals(groupName));
}
Expand Down

0 comments on commit 02b05b1

Please sign in to comment.