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.chunkMaxMessageSize |
-1 |
Integer |
Max chunk message size in bytes. Producer chunks the message if chunking is enabled and message size is larger than max chunk-message size. By default, chunkMaxMessageSize value is -1 and producer chunks based on max-message size configured at the broker. |
pulsar.producer.chunkingEnabled |
false |
Boolean |
If message size is higher than allowed max publish-payload size by broker, then enableChunking helps producer to split message into multiple chunks and publish them to broker separately and in order. So, it allows client to successfully publish large size of messages in pulsar. |
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.producerCryptoFailureAction |
FAIL |
Enum |
The action the producer will take in case of encryption failures.
Possible values: |
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. |