Skip to content

Commit 5d03440

Browse files
Missing comment
1 parent 2a821c2 commit 5d03440

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clients/src/main/java/org/apache/kafka/clients/admin/ListGroupsOptions.java

+4
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ public ListGroupsOptions inGroupStates(Set<GroupState> groupStates) {
7878
return this;
7979
}
8080

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+
*/
8185
public ListGroupsOptions withProtocolTypes(Set<String> protocolTypes) {
8286
this.protocolTypes = (protocolTypes == null || protocolTypes.isEmpty()) ? Set.of() : Set.copyOf(protocolTypes);
8387
return this;

0 commit comments

Comments
 (0)