OffsetRequest class
Kafka OffsetRequest.
- Inheritance
-
- Object
- KafkaRequest
- OffsetRequest
Constructors
- OffsetRequest(int replicaId)
- Creates new instance of OffsetRequest.
Properties
- apiKey → int
-
API key of OffsetRequest.
final
- apiVersion → int
-
API version of OffsetRequest.
final
- correlationId → int
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- replicaId → int
-
Unique ID assigned to the
hostwithin Kafka cluster.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addTopicPartition(
String topicName, int partitionId, int time, int maxNumberOfOffsets) → void - Adds topic and partition to this requests.
-
createResponse(
List< int> data) → dynamic -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBytes(
) → List< int> -
Converts this request into a binary representation according to Kafka
protocol.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited