ConsumerGroupSubscription class

Immutable classic consumer subscription metadata, including its INT16 version.

This codec does not implement partition assignment or consumer lifecycle. Only versions 0 through 3 are supported; unknown versions are rejected.

Constructors

ConsumerGroupSubscription(List<String> topics, {int version = 0, List<int>? userData, Map<String, List<int>> ownedPartitions = const {}, int generationId = -1, String? rackId})
ConsumerGroupSubscription.fromBytes(List<int> bytes)
factory

Properties

generationId → int
final
hashCode → int
The hash code for this object.
no setterinherited
ownedPartitions → Map<String, List<int>>
final
rackId → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
topics → List<String>
final
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