1996fanrui commented on a change in pull request #9454: [FLINK-13644][docs-zh] Translate "State Backends" page into Chinese URL: https://github.com/apache/flink/pull/9454#discussion_r315496276
########## File path: docs/dev/stream/state/state_backends.zh.md ########## @@ -22,13 +22,15 @@ specific language governing permissions and limitations under the License. --> -Flink provides different state backends that specify how and where state is stored. +Flink 提供了多种 state backends,它用于指定状态的存储方式和位置。 -State can be located on Java’s heap or off-heap. Depending on your state backend, Flink can also manage the state for the application, meaning Flink deals with the memory management (possibly spilling to disk if necessary) to allow applications to hold very large state. By default, the configuration file *flink-conf.yaml* determines the state backend for all Flink jobs. +状态可以位于 Java 的堆或堆外内存。 Flink 可以依赖 state backend 管理应用程序的状态。 +为了让应用程序可以维护非常大的状态,Flink 自己管理内存(如果有必要可以溢写到磁盘)。 +默认情况下,所有 Flink Job 的 state backend 将使用配置文件 *flink-conf.yaml* 中的配置。 -However, the default state backend can be overridden on a per-job basis, as shown below. +但是,每一个 Job 的 state backend 配置会覆盖默认的 state backend 配置,如下所示。 Review comment: 默认情况下,所有 Flink Job 会使用配置文件 *flink-conf.yaml* 中指定的 state backend。 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
