FetchTopic class

A topic and the explicit partitions requested from it.

Constructors

FetchTopic(String name, List<FetchPartition> partitions)
Creates a topic selection without automatic partition assignment.

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
Kafka topic name, encoded as UTF-8 on the wire.
final
partitions → List<FetchPartition>
Per-partition starting offsets and requested byte limits.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBytes() → List<int>
Encodes this structure without a request header or network size prefix.
toString() → String
A string representation of this object.
inherited

Operators

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