You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/09/09 12:47:42 UTC

[GitHub] [pulsar] yuruguo opened a new issue #11983: Improve parameter checking in pulsar-perf

yuruguo opened a new issue #11983:
URL: https://github.com/apache/pulsar/issues/11983


   **Is your enhancement request related to a problem? Please describe.**
   When I execute `pulsar-perf` to simulate the test, I found that the task can be started normally after some options are set to unreasonable values, but there is no instance running, which leads to a waste of resources.
   In fact, when these unreasonable values appear, we should check to prevent the task from starting.
   _**case 1:**_
   `./bin/pulsar-perf consume --num-consumers -1 test`
   Task can be started but there is no consumption instance in subscription.
   **_case 2:_**
   `./bin/pulsar-perf produce --num-producers -1 test`
   Task can be started but there is no production instance.
   
   **Describe the solution you'd like**
   Provide a `IParameterValidator.class` for these option, perform necessary parameter checks before the task starts and exit directly after hitting.
   


-- 
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-unsubscribe@pulsar.apache.org

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



[GitHub] [pulsar] congbobo184 closed issue #11983: Improve parameter checking in pulsar-perf

Posted by GitBox <gi...@apache.org>.
congbobo184 closed issue #11983:
URL: https://github.com/apache/pulsar/issues/11983


   


-- 
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-unsubscribe@pulsar.apache.org

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