Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. val data: PCollection[Type] = results
  2. .apply(
  3. Window
  4. .into[Type](FixedWindows.of(Duration.millis(2000)))
  5. .withAllowedLateness(Duration.millis(1000))
  6. .triggering(AfterPane.elementCountAtLeast(4)
  7. .accumulatingFiredPanes()
  8. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement