pulsar.producer.batchingEnabled |
true |
Boolean |
Enable batch send ability, it was enabled by default. |
pulsar.producer.batchingMaxBytes |
131072 |
Integer |
The maximum size of messages permitted in a batch. Keep the maximum consistent as previous versions. |
pulsar.producer.batchingMaxMessages |
1000 |
Integer |
The maximum number of messages permitted in a batch. |
pulsar.producer.batchingMaxPublishDelayMicros |
1000 |
Long |
Batching time period of sending messages. |
pulsar.producer.batchingPartitionSwitchFrequencyByPublishDelay |
10 |
Integer |
The maximum wait time for switching topic partitions. |
pulsar.producer.chunkingEnabled |
false |
Boolean |
|
pulsar.producer.compressionType |
NONE |
Enum |
Message data compression type used by a producer.Available options:
Possible values:- "NONE"
- "LZ4"
- "ZLIB"
- "ZSTD"
- "SNAPPY"
|
pulsar.producer.initialSequenceId |
(none) |
Long |
The sequence id for avoiding the duplication, it's used when Pulsar doesn't have transaction. |
pulsar.producer.maxPendingMessages |
1000 |
Integer |
The maximum size of a queue holding pending messages. For example, a message waiting to receive an acknowledgment from a https://pulsar.apache.org/docs/en/reference-terminology#broker. By default, when the queue is full, all calls to the Send and SendAsync methods fail unless you set BlockIfQueueFull to true. |
pulsar.producer.maxPendingMessagesAcrossPartitions |
50000 |
Integer |
The maximum number of pending messages across partitions. Use the setting to lower the max pending messages for each partition (setMaxPendingMessages ) if the total number exceeds the configured value. |
pulsar.producer.producerName |
(none) |
String |
A producer name which would be displayed in the Pulsar's dashboard. If no producer name was provided, we would use a Pulsar generated name instead. |
pulsar.producer.properties |
|
Map |
A name or value property of this consumer. properties is application defined metadata attached to a consumer. When getting a topic stats, associate this metadata with the consumer stats for easier identification. |
pulsar.producer.sendTimeoutMs |
30000 |
Long |
Message send timeout in ms.If a message is not acknowledged by a server before the sendTimeout expires, an error occurs. |