ProduceRequest class
Kafka ProduceRequest.
- Inheritance
-
- Object
- KafkaRequest
- ProduceRequest
Constructors
-
ProduceRequest(int requiredAcks, int timeout, List<
ProduceEnvelope> messages) - Creates Kafka ProduceRequest.
Properties
- apiKey → int
-
API key of ProduceRequest
final
- apiVersion → int
-
API version of ProduceRequest
final
- correlationId → int
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
messages
→ List<
ProduceEnvelope> -
List of produce envelopes containing messages to be published.
final
- requiredAcks → int
-
Indicates how many acknowledgements the servers
should receive before responding to the request.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout → int
-
Provides a maximum time in milliseconds the server
can await the receipt of the number of acknowledgements in requiredAcks.
final
Methods
-
createResponse(
List< int> data) → dynamic -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBytes(
) → List< int> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited