Hi,
Thank you very much for you hit! It works pretty well.
--
View this message in context:
http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Kafka-Stream-to-Database-batch-inserts-tp10036p10140.html
Sent from the Apache Flink User Mailing List archive. mailing list archive
You can specify a custom trigger that extends the default ProcessingTimeTrigger
(if you are working with processing time) or EventTimeTrigger (if you are
working with event time).
You do it like this:
stream.timeWindow(Time.of(1, SECONDS)).trigger(new MyTrigger())
Check out the Trigger impleme