You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ja...@apache.org on 2020/09/24 06:22:27 UTC
[flink] branch master updated: [FLINK-18737][docs-zh] Translate
jdbc connector page
This is an automated email from the ASF dual-hosted git repository.
jark pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new da80206 [FLINK-18737][docs-zh] Translate jdbc connector page
da80206 is described below
commit da80206a4c988a5b16ad4e6106757c82847804cb
Author: weizheng92 <10...@qq.com>
AuthorDate: Thu Sep 24 14:20:50 2020 +0800
[FLINK-18737][docs-zh] Translate jdbc connector page
This closes #13003
---
docs/dev/connectors/jdbc.zh.md | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/docs/dev/connectors/jdbc.zh.md b/docs/dev/connectors/jdbc.zh.md
index d984efe..47f5b4a 100644
--- a/docs/dev/connectors/jdbc.zh.md
+++ b/docs/dev/connectors/jdbc.zh.md
@@ -26,9 +26,9 @@ under the License.
* This will be replaced by the TOC
{:toc}
-This connector provides a sink that writes data to a JDBC database.
+该连接器可以向 JDBC 数据库写入数据。
-To use it, add the following dependency to your project (along with your JDBC-driver):
+添加下面的依赖以便使用该连接器(同时添加 JDBC 驱动):
{% highlight xml %}
<dependency>
@@ -38,12 +38,12 @@ To use it, add the following dependency to your project (along with your JDBC-dr
</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/project-configuration.html).
+注意该连接器目前还 __不是__ 二进制发行版的一部分,如何在集群中运行请参考 [这里]({% link dev/project-configuration.zh.md %})。
-Created JDBC sink provides at-least-once guarantee.
-Effectively exactly-once can be achieved using upsert statements or idempotent updates.
+已创建的 JDBC Sink 能够保证至少一次的语义。
+更有效的精确执行一次可以通过 upsert 语句或幂等更新实现。
-Example usage:
+用法示例:
{% highlight java %}
StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();
env
@@ -64,4 +64,4 @@ env
env.execute();
{% endhighlight %}
-Please refer to the [API documentation]({{ site.javadocs_baseurl }}/api/java/org/apache/flink/connector/jdbc/JdbcSink.html) for more details.
+更多细节请查看 [API documentation]({{ site.javadocs_baseurl }}/api/java/org/apache/flink/connector/jdbc/JdbcSink.html) 。