- topic
Specify the topic this producer will be publishing on. This argument is required
when constructing t
- create
Finalize the creation of the Producer instance. This method will block until the
producer is created
- enableBatching
Control whether automatic batching of messages is enabled for the producer.
default: false [No batc
- batchingMaxPublishDelay
Set the time period within which the messages sent will be batched default: 1 ms
if batch messages
- maxPendingMessages
Set the max size of the queue holding the messages pending to receive an
acknowledgment from the bro
- createAsync
Finalize the creation of the Producer instance in asynchronous mode. This method
will return a Compl
- messageRoutingMode
Set the message routing mode for the partitioned producer. Default routing mode
is round-robin routi
- producerName
Specify a name for the producer If not assigned, the system will generate a
globally unique name whi
- sendTimeout
Set the send timeout (default: 30 seconds) If a message is not acknowledged by
the server before the
- compressionType
Set the compression type for the producer. By default, message payloads are not
compressed. Supporte
- addEncryptionKey
Add public encryption key, used by producer to encrypt the data key. At the time
of producer creatio
- batchingMaxMessages
Set the maximum number of messages permitted in a batch. default: 1000 If set to
a value greater tha