zuoniduimian commented on a change in pull request #16949: URL: https://github.com/apache/flink/pull/16949#discussion_r701197319
########## File path: docs/content.zh/docs/dev/datastream/application_parameters.md ########## @@ -24,28 +24,23 @@ specific language governing permissions and limitations under the License. --> -# Handling Application Parameters +# 应用程序参数处理 - - -Handling Application Parameters +应用程序参数处理 ------------------------------- -Almost all Flink applications, both batch and streaming, rely on external configuration parameters. -They are used to specify input and output sources (like paths or addresses), system parameters (parallelism, runtime configuration), and application specific parameters (typically used within user functions). +几乎所有的批和流的 Flink 应用程序,都依赖于外部配置参数。这些配置参数可以用于指定输入和输出源(如路径或地址)、系统参数(并行度,运行时配置)和特定的应用程序参数(通常使用在用户自定义函数)。 -Flink provides a simple utility called `ParameterTool` to provide some basic tooling for solving these problems. -Please note that you don't have to use the `ParameterTool` described here. Other frameworks such as [Commons CLI](https://commons.apache.org/proper/commons-cli/) and -[argparse4j](http://argparse4j.sourceforge.net/) also work well with Flink. +为解决以上问题,Flink 提供一个名为 `Parametertool` 的简单公共类,其中包含了一些基本的工具。请注意,这里说的 `Parametertool` 并不是必须使用的。[Commons CLI](https://commons.apache.org/proper/commons-cli/) 和 [argparse4j](http://argparse4j.sourceforge.net/) 等其他框架也可以非常好地兼容 Flink。 +### `ParameterTool` 读取配置值 Review comment: OK, the translation is acceptable and more reasonable -- 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]
