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.
1 parent 2a821c2 commit 5d03440Copy full SHA for 5d03440
clients/src/main/java/org/apache/kafka/clients/admin/ListGroupsOptions.java
@@ -78,6 +78,10 @@ public ListGroupsOptions inGroupStates(Set<GroupState> groupStates) {
78
return this;
79
}
80
81
+ /**
82
+ * If protocol types is set, only groups of these protocol types will be returned by listGroups().
83
+ * Otherwise, all groups are returned.
84
+ */
85
public ListGroupsOptions withProtocolTypes(Set<String> protocolTypes) {
86
this.protocolTypes = (protocolTypes == null || protocolTypes.isEmpty()) ? Set.of() : Set.copyOf(protocolTypes);
87
0 commit comments