fredia commented on code in PR #26328:
URL: https://github.com/apache/flink/pull/26328#discussion_r2024547952


##########
flink-runtime/src/main/java/org/apache/flink/streaming/api/datastream/ConnectedStreams.java:
##########
@@ -523,4 +529,14 @@ private <R> SingleOutputStreamOperator<R> doTransform(
 
         return returnStream;
     }
+
+    private boolean isEnableAsyncState() {
+        boolean enableAsyncState = false;
+        if ((inputStream1 instanceof KeyedStream) && (inputStream2 instanceof 
KeyedStream)) {
+            enableAsyncState =
+                    ((KeyedStream<?, ?>) inputStream1).isEnableAsyncState()
+                            && ((KeyedStream<?, ?>) 
inputStream2).isEnableAsyncState();
+        }
+        return enableAsyncState;
+    }

Review Comment:
   👍, I added `enableAsyncState()` for `ConnectedStreams`.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to