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 ce83a54 commit cdc72ad
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2024 bakdata
* Copyright (c) 2025 bakdata
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -92,6 +92,7 @@ public void close() {
*/
public boolean exists(final String groupName) {
final Collection<ConsumerGroupListing> consumerGroups = this.listGroups();
log.trace("Found {} consumer groups", consumerGroups.size());
return consumerGroups.stream()
.anyMatch(c -> c.groupId().equals(groupName));
}
Expand Down

0 comments on commit cdc72ad

Please sign in to comment.