Package org.apache.kafka.clients.admin
Class DescribeTopicsResult
java.lang.Object
org.apache.kafka.clients.admin.DescribeTopicsResult
The result of the
Admin.describeTopics(Collection)
call.
The API of this class is evolving, see Admin
for details.-
Constructor Summary
ModifierConstructorDescriptionprotected
DescribeTopicsResult
(Map<String, KafkaFuture<TopicDescription>> futures) Deprecated.protected
DescribeTopicsResult
(Map<Uuid, KafkaFuture<TopicDescription>> topicIdFutures, Map<String, KafkaFuture<TopicDescription>> nameFutures) -
Method Summary
Modifier and TypeMethodDescriptionall()
Deprecated.Use whenAdmin.describeTopics(TopicCollection, DescribeTopicsOptions)
used a TopicIdCollectionUse whenAdmin.describeTopics(TopicCollection, DescribeTopicsOptions)
used a TopicNameCollectionvalues()
Deprecated.Since 3.1.0 usetopicNameValues()
instead
-
Constructor Details
-
DescribeTopicsResult
Deprecated. -
DescribeTopicsResult
protected DescribeTopicsResult(Map<Uuid, KafkaFuture<TopicDescription>> topicIdFutures, Map<String, KafkaFuture<TopicDescription>> nameFutures)
-
-
Method Details
-
topicIdValues
Use whenAdmin.describeTopics(TopicCollection, DescribeTopicsOptions)
used a TopicIdCollection- 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
Use whenAdmin.describeTopics(TopicCollection, DescribeTopicsOptions)
used a TopicNameCollection- 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 usetopicNameValues()
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 useallTopicNames()
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
- 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
- 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
-
allTopicNames()
instead