Zakelly commented on code in PR #25135:
URL: https://github.com/apache/flink/pull/25135#discussion_r1701529111


##########
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/operators/asyncprocessing/AbstractAsyncStateStreamOperator.java:
##########
@@ -179,9 +181,12 @@ public final <T> ThrowingConsumer<StreamRecord<T>, 
Exception> getRecordProcessor
 
     /** Create new state (v2) based on new state descriptor. */
     protected <N, S extends State, T> S getOrCreateKeyedState(
-            TypeSerializer<N> namespaceSerializer, StateDescriptor<T> 
stateDescriptor)

Review Comment:
   Well, they have different signatures, as the `StateDescriptor` of state v2 
and v1 are different. But in future, we could override the original one and 
throw `UnsupportedException`, after the state v2 is fully functional.



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