sijie commented on a change in pull request #5788: [pulsar-java-client]
Decouple partition switch frequency with maxPublishDelay in producer
configuration
URL: https://github.com/apache/pulsar/pull/5788#discussion_r353334010
##########
File path:
pulsar-client/src/main/java/org/apache/pulsar/client/impl/conf/ProducerConfigurationData.java
##########
@@ -70,6 +70,7 @@
private MessageRouter customMessageRouter = null;
private long batchingMaxPublishDelayMicros =
TimeUnit.MILLISECONDS.toMicros(1);
+ private int batchingPartitionSwitchFrequencyByPublishDelay = 10;
Review comment:
Add "Micros" to the name so people know the time unit directly by reading
the name.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services