klion26 commented on a change in pull request #9188: [FLINK-12940][docs-zh] 
Translate Apache Cassandra Connector page into…
URL: https://github.com/apache/flink/pull/9188#discussion_r305618261
 
 

 ##########
 File path: docs/dev/connectors/cassandra.zh.md
 ##########
 @@ -43,77 +43,68 @@ To use this connector, add the following dependency to 
your project:
 </dependency>
 {% endhighlight %}
 
-Note that the streaming connectors are currently __NOT__ part of the binary 
distribution. See how to link with them for cluster execution [here]({{ 
site.baseurl}}/dev/projectsetup/dependencies.html).
+请注意,流连接器当前不是 Flink 
二进制发布包的一部分。了解如何链接它们以进行集群执行[此处]({{site.baseurl}}/zh/dev/projectsetup/dependencies.html)。
 
-## Installing Apache Cassandra
-There are multiple ways to bring up a Cassandra instance on local machine:
 
-1. Follow the instructions from [Cassandra Getting Started 
page](http://cassandra.apache.org/doc/latest/getting_started/index.html).
-2. Launch a container running Cassandra from [Official Docker 
Repository](https://hub.docker.com/_/cassandra/)
+## 安装 Apache Cassandra
+有多种方法可以在本地计算机上启动Cassandra实例:
+
+1. 
按照[Cassandra入门页面](http://cassandra.apache.org/doc/latest/getting_started/index.html)中的说明进行操作。
+2. 从[Official Docker Repository](https://hub.docker.com/_/cassandra/)启动运行 
Cassandra 的容器
 
 ## Cassandra Sinks
 
-### Configurations
+### 配置
 
-Flink's Cassandra sink are created by using the static 
CassandraSink.addSink(DataStream<IN> input) method.
-This method returns a CassandraSinkBuilder, which offers methods to further 
configure the sink, and finally `build()` the sink instance.
+Flink的 Cassandra 接收器是使用静态 `CassandraSink.addSink(DataStream<IN> input)` 
方法创建的。这个方法返回一个 `CassandraSinkBuilder`,它提供了进一步配置接收器的方法,最后通过 `build()` 创建接收器实例。
 
-The following configuration methods can be used:
+可以使用以下配置方法:
 
 1. _setQuery(String query)_
-    * Sets the upsert query that is executed for every record the sink 
receives.
-    * The query is internally treated as CQL statement.
-    * __DO__ set the upsert query for processing __Tuple__ data type.
-    * __DO NOT__ set the query for processing __POJO__ data types.
+    * 设置为接收器接收的每个记录执行的 upsert 查询。
 
 Review comment:
   upsert query 应该翻译成一个词?

----------------------------------------------------------------
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

Reply via email to