Class ConsumerGroupListing
java.lang.Object
org.apache.kafka.clients.admin.ConsumerGroupListing
Deprecated, for removal: This API element is subject to removal in a future version.
A listing of a consumer group in the cluster.
-
Constructor Summary
ConstructorsConstructorDescriptionConsumerGroupListing(String groupId, boolean isSimpleConsumerGroup) Deprecated, for removal: This API element is subject to removal in a future version.Create an instance with the specified parameters.ConsumerGroupListing(String groupId, boolean isSimpleConsumerGroup, Optional<ConsumerGroupState> state) Deprecated.Since 4.0.ConsumerGroupListing(String groupId, boolean isSimpleConsumerGroup, Optional<ConsumerGroupState> state, Optional<GroupType> type) Deprecated.Since 4.0.ConsumerGroupListing(String groupId, Optional<GroupState> groupState, boolean isSimpleConsumerGroup) Deprecated, for removal: This API element is subject to removal in a future version.Create an instance with the specified parameters.ConsumerGroupListing(String groupId, Optional<GroupState> groupState, Optional<GroupType> type, boolean isSimpleConsumerGroup) Deprecated, for removal: This API element is subject to removal in a future version.Create an instance with the specified parameters. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated, for removal: This API element is subject to removal in a future version.groupId()Deprecated, for removal: This API element is subject to removal in a future version.Consumer Group IdDeprecated, for removal: This API element is subject to removal in a future version.Group stateinthashCode()Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.If Consumer Group is simple or not.state()Deprecated.Since 4.0.toString()Deprecated, for removal: This API element is subject to removal in a future version.type()Deprecated, for removal: This API element is subject to removal in a future version.The type of the consumer group.
-
Constructor Details
-
ConsumerGroupListing
Deprecated, for removal: This API element is subject to removal in a future version.Create an instance with the specified parameters.- Parameters:
groupId- Group Id.isSimpleConsumerGroup- If consumer group is simple or not.
-
ConsumerGroupListing
@Deprecated public ConsumerGroupListing(String groupId, boolean isSimpleConsumerGroup, Optional<ConsumerGroupState> state) Deprecated.Since 4.0. UseConsumerGroupListing(String, Optional, boolean)instead.Create an instance with the specified parameters.- Parameters:
groupId- Group Id.isSimpleConsumerGroup- If consumer group is simple or not.state- The state of the consumer group.
-
ConsumerGroupListing
@Deprecated public ConsumerGroupListing(String groupId, boolean isSimpleConsumerGroup, Optional<ConsumerGroupState> state, Optional<GroupType> type) Deprecated.Since 4.0. UseConsumerGroupListing(String, Optional, Optional, boolean)instead.Create an instance with the specified parameters.- Parameters:
groupId- Group Id.isSimpleConsumerGroup- If consumer group is simple or not.state- The state of the consumer group.type- The type of the consumer group.
-
ConsumerGroupListing
public ConsumerGroupListing(String groupId, Optional<GroupState> groupState, boolean isSimpleConsumerGroup) Deprecated, for removal: This API element is subject to removal in a future version.Create an instance with the specified parameters.- Parameters:
groupId- Group Id.groupState- The state of the consumer group.isSimpleConsumerGroup- If consumer group is simple or not.
-
ConsumerGroupListing
public ConsumerGroupListing(String groupId, Optional<GroupState> groupState, Optional<GroupType> type, boolean isSimpleConsumerGroup) Deprecated, for removal: This API element is subject to removal in a future version.Create an instance with the specified parameters.- Parameters:
groupId- Group Id.groupState- The state of the consumer group.type- The type of the consumer group.isSimpleConsumerGroup- If consumer group is simple or not.
-
-
Method Details
-
groupId
Deprecated, for removal: This API element is subject to removal in a future version.Consumer Group Id -
isSimpleConsumerGroup
public boolean isSimpleConsumerGroup()Deprecated, for removal: This API element is subject to removal in a future version.If Consumer Group is simple or not. -
groupState
Deprecated, for removal: This API element is subject to removal in a future version.Group state -
state
Deprecated.Since 4.0. UsegroupState()instead.Consumer Group state -
type
-
toString
-
hashCode
-
equals
-
Admin.listGroups(ListGroupsOptions)andGroupListinginstead.