@InterfaceStability.Evolving public class ListConsumerGroupsOptions extends AbstractOptions<ListConsumerGroupsOptions>
Admin.listConsumerGroups()
.
The API of this class is evolving, see Admin
for details.timeoutMs
Constructor and Description |
---|
ListConsumerGroupsOptions() |
Modifier and Type | Method and Description |
---|---|
ListConsumerGroupsOptions |
inStates(java.util.Set<ConsumerGroupState> states)
If states is set, only groups in these states will be returned by listConsumerGroups()
Otherwise, all groups are returned.
|
java.util.Set<ConsumerGroupState> |
states()
Returns the list of States that are requested or empty if no states have been specified
|
timeoutMs, timeoutMs
public ListConsumerGroupsOptions inStates(java.util.Set<ConsumerGroupState> states)
public java.util.Set<ConsumerGroupState> states()