Last active
March 31, 2017 17:45
-
-
Save alexvanboxel/0f672ac9165d320ccf04fec052235fd4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.apply("SessionWindows for products", Window.<Event>into(Sessions.withGapDuration(Duration.standardDays(10))) | |
.triggering(Repeatedly.forever(AfterProcessingTime | |
.pastFirstElementInPane() | |
.plusDelayOf(Duration.standardSeconds(60)) | |
).orFinally(AfterWatermark.pastEndOfWindow())) | |
.accumulatingFiredPanes() | |
.withAllowedLateness(Duration.ZERO) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment