lct45 commented on a change in pull request #9253: URL: https://github.com/apache/kafka/pull/9253#discussion_r562156019
########## File path: streams/src/main/java/org/apache/kafka/streams/kstream/TimeWindowedDeserializer.java ########## @@ -33,22 +33,22 @@ */ public class TimeWindowedDeserializer<T> implements Deserializer<Windowed<T>> { - private final Long windowSize; + private Long windowSize; private boolean isChangelogTopic; private Deserializer<T> inner; - + // Default constructor needed by Kafka public TimeWindowedDeserializer() { - this(null, Long.MAX_VALUE); + this(null, null); } - // TODO: fix this part as last bits of KAFKA-4468 + @Deprecated public TimeWindowedDeserializer(final Deserializer<T> inner) { this(inner, Long.MAX_VALUE); Review comment: I thought about it but figured since it's deprecated anyway and we want to keep backwards compatibility I would leave it. WDYT? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org