I\'m doing this simple windowed aggregation in kafka streams:
... .groupByKey(/* Serde stuff */) .windowedBy(TimeWindows.of( Duration.ofSeconds(5) ).g