Class AsyncWatermarkCache

  • All Implemented Interfaces:
    WatermarkCache

    public class AsyncWatermarkCache
    extends java.lang.Object
    implements WatermarkCache
    Asynchronously compute the earliest partition watermark and stores it in memory. The value will be recomputed periodically, as configured by the refresh rate.

    On every period, we will call PartitionMetadataDao#getUnfinishedMinWatermark() to refresh the value.