rdhabalia commented on a change in pull request #5440: [pulsar-perf] Add
batching max message into perf-producer
URL: https://github.com/apache/pulsar/pull/5440#discussion_r338284046
##########
File path:
pulsar-testclient/src/main/java/org/apache/pulsar/testclient/PerformanceProducer.java
##########
@@ -156,6 +156,10 @@
@Parameter(names = { "-b",
"--batch-time-window" }, description = "Batch messages in 'x'
ms window (Default: 1ms)")
public double batchTimeMillis = 1.0;
+
+ @Parameter(names = { "-bn",
+ "--batch-max-msgs" }, description = "Number of max messages in
batch. (Default: 0 (disable))")
+ public int batchMaxMsgs = 0;
Review comment:
ok..added default values.
----------------------------------------------------------------
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