Class JobManagerWatermarkTracker

    • Constructor Detail

      • JobManagerWatermarkTracker

        public JobManagerWatermarkTracker​(String aggregateName)
      • JobManagerWatermarkTracker

        public JobManagerWatermarkTracker​(String aggregateName,
                                          long logAccumulatorIntervalMillis)
    • Method Detail

      • updateWatermark

        public long updateWatermark​(long localWatermark)
        Description copied from class: WatermarkTracker
        Set the current watermark of the owning subtask and return the global low watermark based on the current state snapshot. Periodically called by the enclosing consumer instance, which is responsible for any timer management etc.
        Specified by:
        updateWatermark in class WatermarkTracker
        Returns:
      • open

        public void open​(org.apache.flink.api.common.functions.RuntimeContext context)
        Overrides:
        open in class WatermarkTracker