Versions Compared

Key

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

...

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

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

Since "describe all topics" is a common operation, We propose to add describeTopics() method to get all topic descriptions in single call.
This will be simple to use and avoids additional metadata requests.

...