Created
March 6, 2019 17:31
-
-
Save vvcephei/61aca8beaef57873bdd894c988cc7ac3 to your computer and use it in GitHub Desktop.
Suppression Blog Figure 2
This file contains hidden or 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
events | |
.groupByKey() | |
.windowedBy(TimeWindows.of(Duration.ofMinutes(2))) | |
.count(Materialized.as("count-metric")) | |
.filter( _ < 4 ) | |
.toStream() | |
.foreach( /* Send that email! */) | |
// graph servlet queries "count-metric" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment