接口的使用
org.apache.pulsar.functions.windowing.TriggerPolicy
使用TriggerPolicy的程序包
-
org.apache.pulsar.functions.windowing中TriggerPolicy的使用
-
org.apache.pulsar.functions.windowing.triggers中TriggerPolicy的使用
修饰符和类型类说明classA trigger that tracks event counts and calls backTriggerHandler.onTrigger()when the count threshold is hit.classInvokesTriggerHandler.onTrigger()after the duration.classA trigger policy that tracks event counts and sets the context for eviction policy to evict based on latest watermark time.classHandles watermark events and triggersTriggerHandler.onTrigger()for each window interval that has events to be processed up to the watermark ts.