Skip to main content
Version: 3.x

IClusterManager.GetTopicMetadataAsync method

Retrieves the metadata for a specified topic. This includes information about the topic as well as its partitions.

public ValueTask<TopicMetadata> GetTopicMetadataAsync(string topicName)
parameterdescription
topicNameThe name of the topic for which to retrieve metadata.

Return Value

A TopicMetadata object that contains information about the topic and its partitions.

See Also