izzyacademy commented on a change in pull request #10926: URL: https://github.com/apache/kafka/pull/10926#discussion_r659384531
########## File path: streams/src/main/java/org/apache/kafka/streams/kstream/TimeWindows.java ########## @@ -83,16 +92,52 @@ private TimeWindows(final long sizeMs, final long advanceMs, final long graceMs) * Tumbling windows are a special case of hopping windows with {@code advance == size}. * * @param size The size of the window - * @return a new window definition with default maintain duration of 1 day + * @return a new window definition with default no grace period + * @throws IllegalArgumentException if the specified window size is zero or negative or can't be represented as {@code long milliseconds} + */ + public static TimeWindows ofSizeWithNoGrace(final Duration size) throws IllegalArgumentException { Review comment: @ableegoldman Makes sense. I will review the Javadocs again for all the API changes and apply this feedback to the new API methods for the KIP -- 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