接口 TopicMetadata


  • @Public
    @Stable
    public interface TopicMetadata
    Metadata of a topic that can be used for message routing.
    • 方法详细资料

      • numPartitions

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