wuchong commented on a change in pull request #9764: [FLINK-12939][docs-zh]
Translate "Apache Kafka Connector" page into Chinese
URL: https://github.com/apache/flink/pull/9764#discussion_r340025802
##########
File path: docs/dev/connectors/kafka.zh.md
##########
@@ -26,25 +26,20 @@ under the License.
* This will be replaced by the TOC
{:toc}
-This connector provides access to event streams served by [Apache
Kafka](https://kafka.apache.org/).
+此连接器提供了访问 [Apache Kafka](https://kafka.apache.org/) 事件流的服务。
-Flink provides special Kafka Connectors for reading and writing data from/to
Kafka topics.
-The Flink Kafka Consumer integrates with Flink's checkpointing mechanism to
provide
-exactly-once processing semantics. To achieve that, Flink does not purely rely
on Kafka's consumer group
-offset tracking, but tracks and checkpoints these offsets internally as well.
+Flink 提供了专门的 Kafka 连接器,向 Kafka topic 中读取或者写入数据。Flink Kafka Consumer 集成了 Flink
的 Checkpoint 机制,可提供 exactly-once 的处理语义。为此,Flink 并不完全依赖于跟踪 Kafka
消费组的偏移量,而是在内部跟踪和检查偏移量。
-Please pick a package (maven artifact id) and class name for your use-case and
environment.
-For most users, the `FlinkKafkaConsumer08` (part of `flink-connector-kafka`)
is appropriate.
+为你的用例和环境选择相应的包(maven artifact id)和类名。对于大多数用户来说,使用 `FlinkKafkaConsumer08`(
`flink-connector-kafka` 的一部分)是比较合适的。
Review comment:
```suggestion
根据你的用例和环境选择相应的包(maven artifact id)和类名。对于大多数用户来说,使用 `FlinkKafkaConsumer08`(
`flink-connector-kafka` 的一部分)是比较合适的。
```
----------------------------------------------------------------
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