MemberOffsetCommitRequest class

An explicit OffsetCommit v6 carrying a classic member and generation.

This advanced request does not join, heartbeat, assign partitions, track a live lease, retry, or fall back to a manual commit. The caller must discover the coordinator, check its supported API versions, and inspect every returned partition error. Responses must match the requested topic and every partition exactly; missing, duplicate or unexpected entries are malformed outcomes. A valid generation/member pair does not prove ownership of the partitions being committed, enforce monotonic progress, or make application effects atomic. Commit only completed application processing.

A lost response can leave an unknown outcome. Closing a socket cannot undo a commit or prove that the member left. Static membership is not supported by this protocol version. Existing GroupOffsetCommitRequest and high-level manual commit behavior remain generation -1 with an empty member ID.

Inheritance

Constructors

MemberOffsetCommitRequest(String groupId, String topic, Map<int, int> nextOffsets, {required int generationId, required String memberId, String? metadata})

Properties

apiKey → int
finalinherited
apiVersion → int
finalinherited
correlationId → int
finalinherited
expectsResponse → bool
no setterinherited
generationId → int
-1 for a manual commit; otherwise a caller-supplied classic generation.
finalinherited
groupId → String
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
memberId → String
Empty for a manual commit; not a locally managed membership lease.
finalinherited
metadata → String?
finalinherited
nextOffsets → Map<int, int>
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
topic → String
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseResponse(List<int> bytes) → GroupOffsetCommitResponse
override
toBytes() → List<int>
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited