MessageSet class

Kafka MessageSet type.

Constructors

MessageSet.build(ProduceEnvelope envelope)
Builds new message set for publishing.
factory
MessageSet.fromBytes(KafkaBytesReader reader)
Creates new MessageSet from provided data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
length int
Number of messages in this set.
no setter
messages Map<int, Message>
Map of message offsets to corresponding messages.
no setter
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>
Converts this MessageSet into sequence of bytes according to Kafka protocol.
toString() String
A string representation of this object.
inherited

Operators

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