chia7712 commented on code in PR #20619:
URL: https://github.com/apache/kafka/pull/20619#discussion_r2406512739
##########
tools/src/main/java/org/apache/kafka/tools/FeatureCommand.java:
##########
@@ -92,14 +92,27 @@ static void execute(String... args) throws Exception {
addVersionMappingParser(subparsers);
addFeatureDependenciesParser(subparsers);
- Namespace namespace = parser.parseArgsOrFail(args);
+ Namespace namespace = parser.parseArgs(args);
String command = namespace.getString("command");
+ if (command.equals("version-mapping")) {
Review Comment:
This approach allows `version-mapping` to be used with both
`bootstrap-server` and `bootstrap-controller`, which seems a bit odd to me
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]