Package org.apache.pulsar.functions.windowing.triggers
-
Class Summary Class Description CountTriggerPolicy<T> A trigger that tracks event counts and calls backTriggerHandler.onTrigger()when the count threshold is hit.TimeTriggerPolicy<T> InvokesTriggerHandler.onTrigger()after the duration.WatermarkCountTriggerPolicy<T> A trigger policy that tracks event counts and sets the context for eviction policy to evict based on latest watermark time.WatermarkTimeTriggerPolicy<T> Handles watermark events and triggersTriggerHandler.onTrigger()for each window interval that has events to be processed up to the watermark ts.