Interface WatermarkGenerator<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onEvent​(T event, long eventTimestamp, WatermarkOutput output)
      Called for every event, allows the watermark generator to examine and remember the event timestamps, or to emit a watermark based on the event itself.
      void onPeriodicEmit​(WatermarkOutput output)
      Called periodically, and might emit a new watermark, or not.
    • Method Detail

      • onEvent

        void onEvent​(T event,
                     long eventTimestamp,
                     WatermarkOutput output)
        Called for every event, allows the watermark generator to examine and remember the event timestamps, or to emit a watermark based on the event itself.