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


##########
flink-runtime/src/main/java/org/apache/flink/streaming/api/datastream/KeyedStream.java:
##########
@@ -358,9 +359,10 @@ public <R> SingleOutputStreamOperator<R> process(
     @Internal
     public <R> SingleOutputStreamOperator<R> process(
             KeyedProcessFunction<KEY, T, R> keyedProcessFunction, 
TypeInformation<R> outputType) {
-
-        KeyedProcessOperator<KEY, T, R> operator =
-                new KeyedProcessOperator<>(clean(keyedProcessFunction));
+        OneInputStreamOperator operator =
+                isEnableAsyncState()
+                        ? new 
AsyncKeyedProcessOperator<>(clean(keyedProcessFunction))

Review Comment:
   If we use a variable, a new line will be introduced here, I prefer to keep 
it as it is.



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to