Package org.apache.kafka.clients.admin
Class StreamsGroupMemberDescription
java.lang.Object
org.apache.kafka.clients.admin.StreamsGroupMemberDescription
A detailed description of a single streams groups member in the cluster.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The user-defined endpoint for the member.static class
The cumulative offset for one task. -
Constructor Summary
ConstructorsConstructorDescriptionStreamsGroupMemberDescription
(String memberId, int memberEpoch, Optional<String> instanceId, Optional<String> rackId, String clientId, String clientHost, int topologyEpoch, String processId, Optional<StreamsGroupMemberDescription.Endpoint> userEndpoint, Map<String, String> clientTags, List<StreamsGroupMemberDescription.TaskOffset> taskOffsets, List<StreamsGroupMemberDescription.TaskOffset> taskEndOffsets, StreamsGroupMemberAssignment assignment, StreamsGroupMemberAssignment targetAssignment, boolean isClassic) -
Method Summary
Modifier and TypeMethodDescriptionThe current assignment.The host of the group member.clientId()
The client ID of the group member.Used for rack-aware assignment algorithm.boolean
int
hashCode()
The id of the instance, used for static membership, if available.boolean
The flag indicating whether a member is classic.int
The epoch of the group member.memberId()
The id of the group member.Identity of the streams instance that may have multiple clients.rackId()
The rack ID of the group member.The target assignment.Cumulative task changelog end offsets for tasks.Cumulative offsets for tasks.int
The epoch of the topology present on the client.toString()
User-defined endpoint for Interactive Queries.
-
Constructor Details
-
StreamsGroupMemberDescription
public StreamsGroupMemberDescription(String memberId, int memberEpoch, Optional<String> instanceId, Optional<String> rackId, String clientId, String clientHost, int topologyEpoch, String processId, Optional<StreamsGroupMemberDescription.Endpoint> userEndpoint, Map<String, String> clientTags, List<StreamsGroupMemberDescription.TaskOffset> taskOffsets, List<StreamsGroupMemberDescription.TaskOffset> taskEndOffsets, StreamsGroupMemberAssignment assignment, StreamsGroupMemberAssignment targetAssignment, boolean isClassic)
-
-
Method Details
-
memberId
The id of the group member. -
memberEpoch
public int memberEpoch()The epoch of the group member. -
instanceId
The id of the instance, used for static membership, if available. -
rackId
The rack ID of the group member. -
clientId
The client ID of the group member. -
clientHost
The host of the group member. -
topologyEpoch
public int topologyEpoch()The epoch of the topology present on the client. -
processId
Identity of the streams instance that may have multiple clients. -
userEndpoint
User-defined endpoint for Interactive Queries. -
clientTags
Used for rack-aware assignment algorithm. -
taskOffsets
Cumulative offsets for tasks. -
taskEndOffsets
Cumulative task changelog end offsets for tasks. -
assignment
The current assignment. -
targetAssignment
The target assignment. -
isClassic
public boolean isClassic()The flag indicating whether a member is classic. -
equals
-
hashCode
public int hashCode() -
toString
-