ijuma commented on code in PR #14661: URL: https://github.com/apache/kafka/pull/14661#discussion_r1398332721
########## tools/src/main/java/org/apache/kafka/tools/TopicCommand.java: ########## @@ -257,7 +257,7 @@ static class CommandTopicPartition { public CommandTopicPartition(TopicCommandOptions options) { opts = options; - name = options.topic(); + name = options.topic().get(); Review Comment: It's a bit unclear why it's safe to call `.get` here. This class could, in theory, be used outside of `create` and `alter` in the future. -- 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