Class ConsumerAction

    • Method Detail

      • getTopic

        public java.lang.String getTopic()
      • getPartition

        public int getPartition()
      • incrementAttempt

        public void incrementAttempt()
      • getAttemptsCount

        public int getAttemptsCount()
      • getSequenceNumber

        public int getSequenceNumber()
      • getCreateTimestampInMs

        public long getCreateTimestampInMs()
      • getFuture

        public java.util.concurrent.CompletableFuture<java.lang.Void> getFuture()
      • isHelixTriggeredAction

        public boolean isHelixTriggeredAction()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • createKillAction

        public static ConsumerAction createKillAction​(PubSubTopic topic,
                                                      int sequenceNumber)
        Create a kill consumer action. As kill action apply on all of partitions in given topic, so use 0 as partition value for no meaning.