lct45 commented on a change in pull request #9253:
URL: https://github.com/apache/kafka/pull/9253#discussion_r562056000



##########
File path: 
streams/src/main/java/org/apache/kafka/streams/kstream/TimeWindowedDeserializer.java
##########
@@ -61,6 +61,21 @@ public Long getWindowSize() {
     @SuppressWarnings("unchecked")
     @Override
     public void configure(final Map<String, ?> configs, final boolean isKey) {
+        //check if the config is set and the window size is already set from 
the constructor
+        final Long configWindowSize;
+        if (configs.get(StreamsConfig.WINDOW_SIZE_MS_CONFIG) instanceof 
String) {

Review comment:
       The console consumer made this check necessary - if there's a simpler 
way to do this lmk




----------------------------------------------------------------
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


Reply via email to