Class AsyncKeyedCoProcessOperatorWithWatermarkDelay<K,​IN1,​IN2,​OUT>

    • Constructor Detail

      • AsyncKeyedCoProcessOperatorWithWatermarkDelay

        public AsyncKeyedCoProcessOperatorWithWatermarkDelay​(KeyedCoProcessFunction<K,​IN1,​IN2,​OUT> keyedCoProcessFunction,
                                                             long watermarkDelay)
    • Method Detail

      • postProcessWatermark

        public Watermark postProcessWatermark​(Watermark watermark)
                                       throws Exception
        Description copied from class: AbstractAsyncKeyOrderedStreamOperator
        A hook that will be invoked after finishing advancing the watermark and right before the watermark being emitting downstream. Here is a chance for customization of the emitting watermark. It is not recommended to perform async state here. Only some synchronous logic is suggested.
        Overrides:
        postProcessWatermark in class AbstractAsyncKeyOrderedStreamOperator<OUT>
        Parameters:
        watermark - the advanced watermark.
        Returns:
        the watermark that should be emitted to downstream. Null if there is no need for following emitting.
        Throws:
        Exception