ConsumerGroupAssignment class

Immutable classic consumer assignment metadata, including its INT16 version.

Versions 0 through 3 have the same assignment body. This class only encodes an assignment supplied by the caller; it does not choose partition owners.

Constructors

ConsumerGroupAssignment(Map<String, List<int>> partitions, {int version = 0, List<int>? userData})
ConsumerGroupAssignment.fromBytes(List<int> bytes)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
partitions → Map<String, List<int>>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
userData → List<int>?
final
version → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBytes() → Uint8List
toString() → String
A string representation of this object.
inherited

Operators

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