wernerdv commented on code in PR #15457:
URL: https://github.com/apache/kafka/pull/15457#discussion_r1514997085


##########
tools/src/main/java/org/apache/kafka/tools/consumer/ConsoleConsumerOptions.java:
##########
@@ -322,6 +324,20 @@ private void invalidOffset(String offset) {
                 "'earliest', 'latest', or a non-negative long.");
     }
 
+    private long parseTimeoutMs() {
+        long timeout;
+        if (options.has(timeoutMsOpt)) {
+            timeout = options.valueOf(timeoutMsOpt);
+            if (timeout < 0) {
+                CommandLineUtils.printUsageAndExit(parser, "The provided 
timeout-ms value '" + timeout +

Review Comment:
   Returned to the previous logic.



-- 
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: jira-unsubscr...@kafka.apache.org

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

Reply via email to