fredia commented on code in PR #24781: URL: https://github.com/apache/flink/pull/24781#discussion_r1599505408
########## flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/StreamingRuntimeContext.java: ########## @@ -256,6 +256,20 @@ public <T> org.apache.flink.api.common.state.v2.ValueState<T> getValueState( return keyedStateStoreV2.getValueState(stateProperties); } + public <T> org.apache.flink.api.common.state.v2.ListState<T> getListState( Review Comment: Should `getValueState/getListState/getMapState` be added to `org.apache.flink.api.common.functions.RuntimeContext`? BTW, I found that `org.apache.flink.runtime.state.v2.StateDescriptor` is in the `runtime` module, developers can only create async-states by `StreamingRuntimeContext` now. -- 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