codelipenghui commented on a change in pull request #12641:
URL: https://github.com/apache/pulsar/pull/12641#discussion_r743689331



##########
File path: 
pulsar-client-tools/src/main/java/org/apache/pulsar/client/cli/CmdProduce.java
##########
@@ -107,6 +107,9 @@
                description = "Rate (in msg/sec) at which to produce," +
                        " value 0 means to produce messages as fast as 
possible.")
     private double publishRate = 0;
+
+    @Parameter(names = { "-db", "--disable-batching" }, description = "Disable 
batch sending of messages")

Review comment:
       It better to named `--batch-enabled`? and the default is true.




-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to