mirror of https://github.com/apache/kafka.git
fix typo in streams/dsl-api.html (#14023)
Fix typo in docs/streams/dsl-api.html Reviewers: Luke Chen <showuon@gmail.com>, Divij Vaidya <diviv@amazon.com>
This commit is contained in:
parent
15418db69d
commit
8afa881a11
|
|
@ -1333,7 +1333,7 @@ KTable<Windowed<String>, Long> sessionzedAggregatedStream = groupedS
|
|||
// Java 7 examples
|
||||
|
||||
// Aggregating with time-based windowing (here: with 5-minute tumbling windows)
|
||||
KTable<Windowed<String>, Long> timeWindowedAggregatedStream = groupedStream..windowedBy(
|
||||
KTable<Windowed<String>, Long> timeWindowedAggregatedStream = groupedStream.windowedBy(
|
||||
TimeWindows.ofSizeWithNoGrace(Duration.ofMinutes(5)) /* time-based window */)
|
||||
.reduce(
|
||||
new Reducer<Long>() { /* adder */
|
||||
|
|
|
|||
Loading…
Reference in New Issue