Class MTopicDescriptor

    • Constructor Detail

      • MTopicDescriptor

        public MTopicDescriptor()
    • Method Detail

      • getPartitions

        public int getPartitions()
        Specified by:
        getPartitions in interface TopicDescriptor
        Returns:
        the number of partitions for the topic.
      • setPartitions

        public void setPartitions​(int numPartitions)
        Description copied from interface: TopicDescriptor
        Sets the number of partitions for the topic.
        Specified by:
        setPartitions in interface TopicDescriptor
        Parameters:
        numPartitions - the number of partitions
      • hasPartitions

        public boolean hasPartitions()
      • hasTimestampType

        public boolean hasTimestampType()