Interface PartitionProducerStateProvider.ResponseHandle

  • Enclosing interface:
    PartitionProducerStateProvider

    public static interface PartitionProducerStateProvider.ResponseHandle
    Result of state query, accepts state check callbacks.
    • Method Detail

      • getConsumerExecutionState

        ExecutionState getConsumerExecutionState()
      • getProducerExecutionState

        org.apache.flink.types.Either<ExecutionState,​Throwable> getProducerExecutionState()
      • cancelConsumption

        void cancelConsumption()
        Cancel the partition consumptions as a result of state check.
      • failConsumption

        void failConsumption​(Throwable cause)
        Fail the partition consumptions as a result of state check.
        Parameters:
        cause - failure cause