zentol commented on code in PR #21343: URL: https://github.com/apache/flink/pull/21343#discussion_r1026094609
########## docs/content.zh/docs/dev/dataset/local_execution.md: ########## @@ -97,7 +97,7 @@ The `LocalEnvironment` allows also to pass custom configuration values to Flink. ```java Configuration conf = new Configuration(); -conf.setFloat(ConfigConstants.TASK_MANAGER_MEMORY_FRACTION_KEY, 0.5f); +conf.setFloat(TaskManagerOptions.MANAGED_MEMORY_FRACTION, 0.5f); Review Comment: ```suggestion conf.set(TaskManagerOptions.MANAGED_MEMORY_FRACTION, 0.5f); ``` ########## docs/content/docs/dev/dataset/local_execution.md: ########## @@ -97,7 +97,7 @@ The `LocalEnvironment` allows also to pass custom configuration values to Flink. ```java Configuration conf = new Configuration(); -conf.setFloat(ConfigConstants.TASK_MANAGER_MEMORY_FRACTION_KEY, 0.5f); +conf.setFloat(TaskManagerOptions.MANAGED_MEMORY_FRACTION, 0.5f); Review Comment: ```suggestion conf.set(TaskManagerOptions.MANAGED_MEMORY_FRACTION, 0.5f); ``` -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org