ProduceEnvelope class
Envelope used for publishing messages to Kafka.
Constructors
-
ProduceEnvelope(String topicName, int partitionId, List<
Message> messages, {KafkaCompression compression = KafkaCompression.none}) - Creates new envelope containing list of messages.
Properties
- compression → KafkaCompression
-
Compression codec to be used.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
messages
→ List<
Message> -
List of messages to publish.
final
- partitionId → int
-
Partition ID.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- topicName → String
-
Name of the topic.
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