Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Suppression Blog Figure 2
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