BewareMyPower commented on a change in pull request #12892:
URL: https://github.com/apache/pulsar/pull/12892#discussion_r753058855



##########
File path: 
pulsar-testclient/src/main/java/org/apache/pulsar/testclient/PerformanceConsumer.java
##########
@@ -180,6 +180,10 @@
                 "used for handling connections to brokers, default is 1 
thread")
         public int ioThreads = 1;
 
+        @Parameter(names = {"-listenerThreads", "--num-listener-threads"}, 
description = "Set the number of threads"
+                + " to be used for message listeners")
+        public int listenerThreads = 1;

Review comment:
       The short option `-xx` usually doesn't need to contain the full name. 
See example
   
   ```
           @Parameter(names = { "-sp", "--subscription-position" }, description 
= "Subscription position")
           private SubscriptionInitialPosition subscriptionInitialPosition = 
SubscriptionInitialPosition.Latest;
   ```
   
   The short option is `-sp` and the long option is `--subscription-position`.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to