Interface TopicMetadata


@Public @Stable public interface TopicMetadata
Metadata of a topic that can be used for message routing.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Return the number of partitions per topic.
  • Method Details

    • numPartitions

      int numPartitions()
      Return the number of partitions per topic.
      Returns:
      the number of partitions per topic.