ijuma commented on a change in pull request #10678: URL: https://github.com/apache/kafka/pull/10678#discussion_r647966061
########## File path: core/src/main/scala/kafka/tools/ConsoleConsumer.scala ########## @@ -248,7 +248,7 @@ object ConsoleConsumer extends Logging { val timeoutMsOpt = parser.accepts("timeout-ms", "If specified, exit if no message is available for consumption for the specified interval.") .withRequiredArg .describedAs("timeout_ms") - .ofType(classOf[java.lang.Integer]) + .ofType(classOf[java.lang.Long]) Review comment: You could change the code in `run` to return `Int.MaxValue` instead of `Long.MaxValue`. That would not impact the command line parameters. -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org