JunRuiLee commented on code in PR #23847:
URL: https://github.com/apache/flink/pull/23847#discussion_r1411656511
##########
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:
Sure, based on your comment, I have updated the documentation to include the
write buffer size option CheckpointingOptions#FS_WRITE_BUFFER_SIZE. Thank you
for the suggestion.
--
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]