You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/01/13 03:10:50 UTC

[GitHub] [incubator-inlong] gosonzhang commented on a change in pull request #2152: [INLONG-2151][Improve] Add time and sort statistics by topic

gosonzhang commented on a change in pull request #2152:
URL: https://github.com/apache/incubator-inlong/pull/2152#discussion_r783599256



##########
File path: inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/tools/cli/CliProducer.java
##########
@@ -323,7 +326,9 @@ public static void main(String[] args) {
             while (cliProducer.msgCount < 0
                     || TOTAL_COUNTER.get() < cliProducer.msgCount * cliProducer.clientCount) {
                 ThreadUtils.sleep(cliProducer.printIntervalMs);
-                System.out.println("Required send count VS sent message count = "
+                System.out.println("Continue, cost time: "
+                        + (System.currentTimeMillis() - cliProducer.startTime)

Review comment:
       This is the sh command of the cli, and the content needs to be displayed directly on the screen. If it is output to a log file, the command is not intuitive to use.




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

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