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/13 02:44:32 UTC

[GitHub] [pulsar] yuruguo commented on a change in pull request #12016: [testclient] Add new option --num-messages for consumer and reader

yuruguo commented on a change in pull request #12016:
URL: https://github.com/apache/pulsar/pull/12016#discussion_r706968811



##########
File path: pulsar-testclient/src/main/java/org/apache/pulsar/testclient/PerformanceConsumer.java
##########
@@ -293,6 +297,11 @@ public static void main(String[] args) throws Exception {
                     PerfClientUtils.exit(0);
                 }
             }
+            if (arguments.numMessages > 0 && totalMessagesReceived.sum() >= arguments.numMessages) {
+                log.info("------------------- DONE -----------------------");

Review comment:
       Good suggestion, I have added hints to all the places where the number of messages and the test duration are reached.




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