Producer class abstract
Producer instance (associated with a PulsarClient instance).
Constructors
- Producer()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future -
Close this instance.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendMessage(
GenericMessage message) → Future< ProducerSendResult> -
Send/publish a single
message
for the producer. -
sendMessageBatch(
List< GenericMessage> messageList) → Future<ProducerSendResult> - Send/publish a message batch for the producer.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited