Interface OnWatermarkCallback<KEY>


  • @Internal
    public interface OnWatermarkCallback<KEY>
    A callback registered with the InternalWatermarkCallbackService service. This callback will be invoked for all keys registered with the service, upon reception of a watermark.
    • Method Detail

      • onWatermark

        void onWatermark​(KEY key,
                         Watermark watermark)
                  throws IOException
        The action to be triggered upon reception of a watermark.
        Parameters:
        key - The current key.
        watermark - The current watermark.
        Throws:
        IOException