showuon commented on a change in pull request #11124: URL: https://github.com/apache/kafka/pull/11124#discussion_r678903334
########## File path: streams/src/main/java/org/apache/kafka/streams/kstream/internals/KStreamSlidingWindowAggregate.java ########## @@ -351,7 +351,8 @@ private void processEarly(final K key, final V value, final long inputRecordTime } if (combinedWindow == null) { - final TimeWindow window = new TimeWindow(0, windows.timeDifferenceMs()); + // created a [start, end] time interval window via SessionWindow + final SessionWindow window = new SessionWindow(0, windows.timeDifferenceMs()); Review comment: add a comment here to avoid confusion. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org