fvaleri commented on code in PR #13136: URL: https://github.com/apache/kafka/pull/13136#discussion_r1086675903
########## core/src/main/scala/kafka/admin/ConsumerGroupCommand.scala: ########## @@ -801,21 +801,15 @@ object ConsumerGroupCommand extends Logging { partitionsToReset.map { topicPartition => logStartOffsets.get(topicPartition) match { case Some(LogOffsetResult.LogOffset(offset)) => (topicPartition, new OffsetAndMetadata(offset)) - case _ => { - CommandLineUtils.printUsageAndDie(opts.parser, s"Error getting starting offset of topic partition: $topicPartition") - Exit.exit(1) - } + case _ => ToolsUtils.printUsageAndDie(opts.parser, s"Error getting starting offset of topic partition: $topicPartition") Review Comment: Well, this is built on top of https://github.com/apache/kafka/pull/13131, which is not approved and merged yet, so I cannot actually remove these changes. -- 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