wuchong commented on a change in pull request #8837: [FLINK-12938][docs]Translate "Streaming Connectors" page into Chinese URL: https://github.com/apache/flink/pull/8837#discussion_r298822152
########## File path: docs/dev/connectors/index.zh.md ########## @@ -48,39 +47,31 @@ Connectors provide code for interfacing with various third-party systems. Curren * [Apache NiFi](nifi.html) (source/sink) * [Twitter Streaming API](twitter.html) (source) -Keep in mind that to use one of these connectors in an application, additional third party -components are usually required, e.g. servers for the data stores or message queues. -Note also that while the streaming connectors listed in this section are part of the -Flink project and are included in source releases, they are not included in the binary distributions. -Further instructions can be found in the corresponding subsections. +请记住,在使用一种连接器时,通常需要额外的第三方组件,比如:数据存储服务器或者消息队列。 +要注意这些列举的连接器是 Flink 工程的一部分,包含在发布的源码中,但是不包含在二进制发行版中。 +更多说明可以参考对应的子部分。 -## Connectors in Apache Bahir +## Apache Bahir 中的连接器 -Additional streaming connectors for Flink are being released through [Apache Bahir](https://bahir.apache.org/), including: +Flink 还有些一些额外的连接器通过 [Apache Bahir](https://bahir.apache.org/) 发布, 包括: * [Apache ActiveMQ](https://bahir.apache.org/docs/flink/current/flink-streaming-activemq/) (source/sink) * [Apache Flume](https://bahir.apache.org/docs/flink/current/flink-streaming-flume/) (sink) * [Redis](https://bahir.apache.org/docs/flink/current/flink-streaming-redis/) (sink) * [Akka](https://bahir.apache.org/docs/flink/current/flink-streaming-akka/) (sink) * [Netty](https://bahir.apache.org/docs/flink/current/flink-streaming-netty/) (source) -## Other Ways to Connect to Flink +## 连接Fink的其他方法 -### Data Enrichment via Async I/O +### 异步 I/O -Using a connector isn't the only way to get data in and out of Flink. -One common pattern is to query an external database or web service in a `Map` or `FlatMap` -in order to enrich the primary datastream. -Flink offers an API for [Asynchronous I/O]({{ site.baseurl }}/dev/stream/operators/asyncio.html) -to make it easier to do this kind of enrichment efficiently and robustly. +使用connector并不是唯一可以使数据进入或者流出Flink的方式。 +一种常见的模式是从外部 Database 或者 Web 服务查询数据得到初始数据流,然后通过 `Map` 或者 `FlatMap` 对初始数据流进行丰富和增强。 Review comment: ```suggestion 一种常见的模式是从外部数据库或者 Web 服务查询数据得到初始数据流,然后通过 `Map` 或者 `FlatMap` 对初始数据流进行丰富和增强。 ``` ---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
