Class DescribeTopicsResult

java.lang.Object
org.apache.kafka.clients.admin.DescribeTopicsResult

@Evolving public class DescribeTopicsResult extends Object
The result of the Admin.describeTopics(Collection) call. The API of this class is evolving, see Admin for details.
  • Method Details

    • topicIdValues

      public Map<Uuid,KafkaFuture<TopicDescription>> topicIdValues()
      Returns:
      a map from topic IDs to futures which can be used to check the status of individual topics if the request used topic IDs, otherwise return null.
    • topicNameValues

      public Map<String,KafkaFuture<TopicDescription>> topicNameValues()
      Returns:
      a map from topic names to futures which can be used to check the status of individual topics if the request used topic names, otherwise return null.
    • values

      Deprecated.
      Since 3.1.0 use topicNameValues() instead
      Returns:
      a map from topic names to futures which can be used to check the status of individual topics if the request used topic names, otherwise return null.
    • all

      Deprecated.
      Since 3.1.0 use allTopicNames() instead
      Returns:
      A future map from topic names to descriptions which can be used to check the status of individual description if the describe topic request used topic names, otherwise return null, this request succeeds only if all the topic descriptions succeed
    • allTopicNames

      public KafkaFuture<Map<String,TopicDescription>> allTopicNames()
      Returns:
      A future map from topic names to descriptions which can be used to check the status of individual description if the describe topic request used topic names, otherwise return null, this request succeeds only if all the topic descriptions succeed
    • allTopicIds

      public KafkaFuture<Map<Uuid,TopicDescription>> allTopicIds()
      Returns:
      A future map from topic ids to descriptions which can be used to check the status of individual description if the describe topic request used topic ids, otherwise return null, this request succeeds only if all the topic descriptions succeed