winitzki opened a new pull request #9397: [FLINK-13658] [API / DataStream] Combine two triggers into one URL: https://github.com/apache/flink/pull/9397 This is a new feature: combine two triggers into one. A new case class `TriggerOf[T, W]` provides this functionality. Sample (working) code: ```scala val combinedTrigger = TriggerOf(PurgingTrigger.of(CountTrigger.of[TimeWindow](windowSize)), PurgingTrigger.of(ProcessingTimeTrigger.create())) env.addSource(...) . keyBy(element => ...) .timeWindow(Time.milliseconds(windowTimeoutMs)) .trigger(combinedTrigger) .process(...) .addSink(...) ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services