Class StatusWatermarkValve


  • @Internal
    public class StatusWatermarkValve
    extends Object
    A StatusWatermarkValve embodies the logic of how Watermark and WatermarkStatus are propagated to downstream outputs, given a set of one or multiple subpartitions that continuously receive them. Usages of this class need to define the number of subpartitions that the valve needs to handle, as well as provide a implementation of PushingAsyncDataInput.DataOutput, which is called by the valve only when it determines a new watermark or watermark status can be propagated.