Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Currently AdminClient supports describeTopics(Collection<String> topicNames) API for describing topics and listTopics() API for listing topic names.
To describe all topics, we need to use listTopics() to get all topic names and pass on the name list to describeTopics. 

 In large clusters, the MetadataResponse can be large and calling sending multiple MetadataRequests can be inefficient.

...