1996fanrui commented on code in PR #23847:
URL: https://github.com/apache/flink/pull/23847#discussion_r1411631989
##########
docs/content.zh/docs/ops/state/state_backends.md:
##########
@@ -538,14 +540,11 @@ state.checkpoint-storage: filesystem
{{< tabs "fsstatebackendmigration" >}}
{{< tab "Java" >}}
```java
-StreamExecutionEnvironment env =
StreamExecutionEnvironment.getExecutionEnvironment();
-env.setStateBackend(new HashMapStateBackend());
-env.getCheckpointConfig().setCheckpointStorage("file:///checkpoint-dir");
-
-
-// Advanced FsStateBackend configurations, such as write buffer size
-// can be set by manually instantiating a FileSystemCheckpointStorage object.
Review Comment:
Should we mention the write buffer size here?
The option is: `CheckpointingOptions#FS_WRITE_BUFFER_SIZE`
--
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]