Interface AsyncStateProcessing

    • Method Detail

      • isAsyncStateProcessingEnabled

        boolean isAsyncStateProcessingEnabled()
        Get if the async state processing is enabled for this input/operator.
        Returns:
        ture if async state processing is enabled.
      • getRecordProcessor

        <T> ThrowingConsumer<StreamRecord<T>,​Exception> getRecordProcessor​(int inputId)
        Get the record processor that could process record from input, which is the only entry for async processing.
        Parameters:
        inputId - the input identifier, start from 1. Borrow the design from org.apache.flink.streaming.api.operators.AbstractInput#inputId. This is only relevant if there is multiple inputs for the instance.