public static class WatermarkPolicyFactory.CustomWatermarkPolicy extends java.lang.Object implements WatermarkPolicy
WatermarkParameters
to compute
watermarks. This can be used as a standard heuristic to compute watermarks. Used by WatermarkPolicyFactory.ArrivalTimeWatermarkPolicy
.Modifier and Type | Method and Description |
---|---|
Instant |
getWatermark() |
void |
update(KinesisRecord record) |
public Instant getWatermark()
getWatermark
in interface WatermarkPolicy
public void update(KinesisRecord record)
update
in interface WatermarkPolicy