Class StreamsGroupDescription
java.lang.Object
org.apache.kafka.clients.admin.StreamsGroupDescription
-
Constructor Summary
ConstructorsConstructorDescriptionStreamsGroupDescription(String groupId, int groupEpoch, int targetAssignmentEpoch, int topologyEpoch, Collection<StreamsGroupSubtopologyDescription> subtopologies, Collection<StreamsGroupMemberDescription> members, GroupState groupState, Node coordinator, Set<AclOperation> authorizedOperations) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4.StreamsGroupDescription(String groupId, int groupEpoch, int targetAssignmentEpoch, int topologyEpoch, Collection<StreamsGroupSubtopologyDescription> subtopologies, Collection<StreamsGroupMemberDescription> members, GroupState groupState, Node coordinator, Set<AclOperation> authorizedOperations, Optional<StreamsGroupTopologyDescription> topologyDescription, StreamsGroupTopologyDescriptionStatus topologyDescriptionStatus, Optional<String> assignorName) -
Method Summary
Modifier and TypeMethodDescriptionThe task assignor the coordinator will use for the next assignment computation.authorizedOperations for this group, or null if that information is not known.The group coordinator, or null if the coordinator is not known.booleanintThe epoch of the consumer group.groupId()The id of the streams group.The state of the streams group, or UNKNOWN if the state is too new for us to parse.inthashCode()members()A list of the members of the streams group.A list of the subtopologies in the streams group.intThe epoch of the target assignment.The full topology description for this group, as recorded by the broker's topology description plugin.The status of the topology description for this group, paired withtopologyDescription().intThe epoch of the currently used topology.toString()
-
Constructor Details
-
StreamsGroupDescription
@Deprecated(since="4.4", forRemoval=true) public StreamsGroupDescription(String groupId, int groupEpoch, int targetAssignmentEpoch, int topologyEpoch, Collection<StreamsGroupSubtopologyDescription> subtopologies, Collection<StreamsGroupMemberDescription> members, GroupState groupState, Node coordinator, Set<AclOperation> authorizedOperations) Deprecated, for removal: This API element is subject to removal in a future version. -
StreamsGroupDescription
public StreamsGroupDescription(String groupId, int groupEpoch, int targetAssignmentEpoch, int topologyEpoch, Collection<StreamsGroupSubtopologyDescription> subtopologies, Collection<StreamsGroupMemberDescription> members, GroupState groupState, Node coordinator, Set<AclOperation> authorizedOperations, Optional<StreamsGroupTopologyDescription> topologyDescription, StreamsGroupTopologyDescriptionStatus topologyDescriptionStatus, Optional<String> assignorName)
-
-
Method Details
-
groupId
The id of the streams group. -
groupEpoch
public int groupEpoch()The epoch of the consumer group. -
targetAssignmentEpoch
public int targetAssignmentEpoch()The epoch of the target assignment. -
topologyEpoch
public int topologyEpoch()The epoch of the currently used topology. -
members
A list of the members of the streams group. -
subtopologies
A list of the subtopologies in the streams group. -
groupState
The state of the streams group, or UNKNOWN if the state is too new for us to parse. -
coordinator
The group coordinator, or null if the coordinator is not known. -
authorizedOperations
authorizedOperations for this group, or null if that information is not known. -
topologyDescription
The full topology description for this group, as recorded by the broker's topology description plugin. Present if and only iftopologyDescriptionStatus()isAVAILABLE. -
topologyDescriptionStatus
The status of the topology description for this group, paired withtopologyDescription(). -
assignorName
-
equals
-
hashCode
-
toString
-