jolshan commented on a change in pull request #9622:
URL: https://github.com/apache/kafka/pull/9622#discussion_r528401568



##########
File path: core/src/main/scala/kafka/admin/TopicCommand.scala
##########
@@ -113,6 +114,7 @@ object TopicCommand extends Logging {
     def printDescription(): Unit = {
       val configsAsString = config.entries.asScala.filter(!_.isDefault).map { 
ce => s"${ce.name}=${ce.value}" }.mkString(",")
       print(s"Topic: $topic")
+      print(s"\tTopicId: ${if(topicId == Uuid.ZERO_UUID) "" else topicId}")

Review comment:
       Do we want to have a field TopicId that is empty? Would it make sense to 
include the Zero Uuid or not print a topic ID label at all?




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to