brandboat commented on code in PR #20385: URL: https://github.com/apache/kafka/pull/20385#discussion_r2297072128
########## tools/src/main/java/org/apache/kafka/tools/ConsumerPerformance.java: ########## @@ -310,7 +318,7 @@ public ConsumerPerfOptions(String[] args) { .describedAs("milliseconds") .ofType(Long.class) .defaultsTo(10_000L); - numMessagesOpt = parser.accepts("messages", "REQUIRED: The number of messages to consume.") Review Comment: Wouldn't it be better to introduce a deprecation cycle for this option, like `consumer.config`? ########## tools/src/main/java/org/apache/kafka/tools/ShareConsumerPerformance.java: ########## @@ -334,7 +342,7 @@ public ShareConsumerPerfOptions(String[] args) { .describedAs("milliseconds") .ofType(Long.class) .defaultsTo(10_000L); - numMessagesOpt = parser.accepts("messages", "REQUIRED: The number of messages to consume.") Review Comment: ditto -- 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