wuchong commented on a change in pull request #8200: [FLINK-11614] [docs-zh] 
Translate the "Configuring Dependencies" page into Chinese
URL: https://github.com/apache/flink/pull/8200#discussion_r278374734
 
 

 ##########
 File path: docs/dev/projectsetup/dependencies.zh.md
 ##########
 @@ -22,47 +22,36 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-Every Flink application depends on a set of Flink libraries. At the bare 
minimum, the application depends
-on the Flink APIs. Many applications depend in addition on certain connector 
libraries (like Kafka, Cassandra, etc.).
-When running Flink applications (either in a distributed deployment, or in the 
IDE for testing), the Flink
-runtime library must be available as well.
+每个 Flink 应用都需要依赖一组 Flink 类库。Flink 应用至少需要依赖 Flink APIs。许多应用还会额外的依赖 Connectors 
(比如 Kafka、Cassandra 等)。
+当用户运行 Flink 应用时(无论是在 IDE 环境下进行测试,还是部署在分布式环境下),运行时类库都必须可用。
 
 
-## Flink Core and Application Dependencies
+## Flink 核心依赖以及应用依赖
 
-As with most systems that run user-defined applications, there are two broad 
categories of dependencies and libraries in Flink:
+与其他运行用户定义应用的大多数系统一样,Flink 中有两大类依赖类库
 
-  - **Flink Core Dependencies**: Flink itself consists of a set of classes and 
dependencies that are needed to run the system, for example
-    coordination, networking, checkpoints, failover, APIs, operations (such as 
windowing), resource management, etc.
-    The set of all these classes and dependencies forms the core of Flink's 
runtime and must be present when a Flink
-    application is started.
+  - **Flink 核心依赖**:Flink 
本身包含运行所需的一组类库,比如协调类库、网络通讯类库、checkpoints、容错处理类库、APIs、算子(如窗口操作)、
+    资源管理类库等,这些类库以及依赖形成了 Flink 运行时的核心依赖。当 Flink 应用启动时,这些类库以及依赖必须可用。
 
-    These core classes and dependencies are packaged in the `flink-dist` jar. 
They are part of Flink's `lib` folder and
-    part of the basic Flink container images. Think of these dependencies as 
similar to Java's core library (`rt.jar`, `charsets.jar`, etc.),
-    which contains the classes like `String` and `List`.
+    这些核心类库以及依赖打包在 `flink-dist` jar 里。它们是 Flink `lib` 文件夹下的一部分,也是 Flink 
基本容器镜像的一部分。
+    这些依赖类似 Java `String` 和 `List` 的核心类库(`rt.jar`, `charsets.jar`等)。
+    
+    Flink 核心依赖不包含 Connectors、CEP、SQL、ML等,这样做的目的是默认情况下避免在类路径中具有过多的依赖项和类。
+    实际上,我们尽可能保持核心依赖足够少,以保持默认的类路径较小,从而避免引起依赖冲突问题。
 
 Review comment:
   ```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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to