Class Partitions

    • Constructor Detail

      • Partitions

        public Partitions()
      • Partitions

        public Partitions​(Partitions source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getPartition

        public Long getPartition()
        Get 分区
        Returns:
        Partition 分区
      • setPartition

        public void setPartition​(Long Partition)
        Set 分区
        Parameters:
        Partition - 分区
      • getOffset

        public Long getOffset()
        Get partition 消费位移
        Returns:
        Offset partition 消费位移
      • setOffset

        public void setOffset​(Long Offset)
        Set partition 消费位移
        Parameters:
        Offset - partition 消费位移