Zakelly commented on code in PR #23496:
URL: https://github.com/apache/flink/pull/23496#discussion_r1496040972
##########
docs/content.zh/docs/libs/state_processor_api.md:
##########
@@ -145,13 +130,13 @@ DataStream<Integer> listState = savepoint.readListState<>(
new MyCustomIntSerializer());
```
-### Keyed State
+### 分区状态
Review Comment:
我其实想说...这个专有名词就不用翻译了吧
##########
docs/content.zh/docs/libs/state_processor_api.md:
##########
@@ -133,9 +118,9 @@ DataStream<Tuple2<Integer, Integer>> broadcastState =
savepoint.readBroadcastSta
Types.INT);
```
-#### Using Custom Serializers
+#### 使用自定义序列化器
-Each of the operator state readers support using custom `TypeSerializers` if
one was used to define the `StateDescriptor` that wrote out the state.
+如果在写出状态时 `StateDescriptor` 使用了自定义的 `TypeSerializer`,Operator state readers
也支持使用自定义的 `TypeSerializers`。
Review Comment:
```suggestion
如果在写出状态时 `StateDescriptor` 使用了自定义的 `TypeSerializer`,Operator state 也支持使用自定义的
`TypeSerializers` 来读取。
```
--
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]