Class WatermarkEstimators.MonotonicallyIncreasing

java.lang.Object
org.apache.beam.sdk.transforms.splittabledofn.WatermarkEstimators.MonotonicallyIncreasing
All Implemented Interfaces:
TimestampObservingWatermarkEstimator<Instant>, WatermarkEstimator<Instant>
Enclosing class:
WatermarkEstimators

public static class WatermarkEstimators.MonotonicallyIncreasing extends Object implements TimestampObservingWatermarkEstimator<Instant>
A watermark estimator that observes timestamps of records output from a DoFn reporting the timestamp of the last element seen as the current watermark.

Note that this watermark estimator expects output timestamps in monotonically increasing order. If they are not, then the watermark will advance based upon the last observed timestamp as long as it is greater then any previously reported watermark.