Skip to content

Commit

Permalink
[FLINK-18854][docs-zh] Translate the 'API Migration Guides' page of '…
Browse files Browse the repository at this point in the history
…Application Development' into Chinese

This closes apache#13172
  • Loading branch information
RocMarshal committed Aug 27, 2020
1 parent 31e9b3d commit 3ea9572
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/dev/migration.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ under the License.
* This will be replaced by the TOC
{:toc}

See the [older migration
guide](https://ci.apache.org/projects/flink/flink-docs-release-1.10/dev/migration.html)
for information about migrating from older versions than Flink 1.3.
有关从 Flink 1.3 之前版本迁移的信息,请参阅[旧版本迁移指南](https://ci.apache.org/projects/flink/flink-docs-release-1.10/zh/dev/migration.html)

## Migrating from Flink 1.3+ to Flink 1.7
<a name="migrating-from-flink-13-to-flink-17"></a>

### API changes for serializer snapshots
## 从 Flink 1.3+ 迁移到 Flink 1.7

This would be relevant mostly for users implementing custom `TypeSerializer`s for their state.
<a name="api-changes-for-serializer-snapshots"></a>

The old `TypeSerializerConfigSnapshot` abstraction is now deprecated, and will be fully removed in the future
in favor of the new `TypeSerializerSnapshot`. For details and guides on how to migrate, please see
[Migrating from deprecated serializer snapshot APIs before Flink 1.7]({{ site.baseurl }}/dev/stream/state/custom_serialization.html#migrating-from-deprecated-serializer-snapshot-apis-before-flink-17).
### Serializer snapshots 的 API 变更

这主要和用户为其状态实现的自定义 `TypeSerializer` 有关。

目前旧接口 `TypeSerializerConfigSnapshot` 已弃用,请使用新的 `TypeSerializerSnapshot` 接口取而代之。有关如何迁移的详细信息和指南,请参阅[如何从 Flink 1.7 之前的 serializer snapshot 接口进行迁移]({% link dev/stream/state/custom_serialization.zh.md %}#migrating-from-deprecated-serializer-snapshot-apis-before-flink-17).

{% top %}

0 comments on commit 3ea9572

Please sign in to comment.