Message class

Kafka Message as defined in the protocol.

Constructors

Message(List<int> value, {MessageAttributes? attributes, List<int>? key})
Creates new Message.
factory

Properties

attributes MessageAttributes?
Metadata attributes about this message.
final
hashCode int
The hash code for this object.
no setterinherited
key List<int>?
Optional message key that was used for partition assignment. The key can be null.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value List<int>
Actual message contents.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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