KarboniteKream commented on code in PR #13762:
URL: https://github.com/apache/kafka/pull/13762#discussion_r1362046167
##########
tools/src/main/java/org/apache/kafka/tools/TopicCommand.java:
##########
@@ -469,7 +469,7 @@ public void createTopic(CommandTopicPartition topic) throws
Exception {
CreateTopicsResult createResult =
adminClient.createTopics(Collections.singleton(newTopic),
new CreateTopicsOptions().retryOnQuotaViolation(false));
createResult.all().get();
- System.out.println("Created topic " + topic.name + ".");
+ System.out.println("Created topic " + topic.name.get() + ".");
Review Comment:
This was logging as `Created topic Optional[foobar].`
--
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]