You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by gu...@apache.org on 2023/05/15 13:19:26 UTC
[flink-connector-jdbc] branch v3.0 updated: [FLINK-32024][docs] Short code related to externalized connector retrieve version from its own data yaml
This is an automated email from the ASF dual-hosted git repository.
guoweijie pushed a commit to branch v3.0
in repository https://gitbox.apache.org/repos/asf/flink-connector-jdbc.git
The following commit(s) were added to refs/heads/v3.0 by this push:
new 339d959 [FLINK-32024][docs] Short code related to externalized connector retrieve version from its own data yaml
339d959 is described below
commit 339d959ef9dfd6fffdad1703862f31e53579c92a
Author: Weijie Guo <re...@163.com>
AuthorDate: Fri May 12 00:00:59 2023 +0800
[FLINK-32024][docs] Short code related to externalized connector retrieve version from its own data yaml
---
docs/content.zh/docs/connectors/datastream/jdbc.md | 2 +-
docs/content.zh/docs/connectors/table/jdbc.md | 2 +-
docs/content/docs/connectors/datastream/jdbc.md | 2 +-
docs/content/docs/connectors/table/jdbc.md | 2 +-
docs/data/jdbc.yml | 1 +
5 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/docs/content.zh/docs/connectors/datastream/jdbc.md b/docs/content.zh/docs/connectors/datastream/jdbc.md
index 8170c30..a57cf0b 100644
--- a/docs/content.zh/docs/connectors/datastream/jdbc.md
+++ b/docs/content.zh/docs/connectors/datastream/jdbc.md
@@ -30,7 +30,7 @@ under the License.
添加下面的依赖以便使用该连接器(同时添加 JDBC 驱动):
-{{< connector_artifact flink-connector-jdbc 3.1.0 >}}
+{{< connector_artifact flink-connector-jdbc jdbc >}}
注意该连接器目前还 __不是__ 二进制发行版的一部分,如何在集群中运行请参考 [这里]({{< ref "docs/dev/configuration/overview" >}})。
diff --git a/docs/content.zh/docs/connectors/table/jdbc.md b/docs/content.zh/docs/connectors/table/jdbc.md
index 476cb22..e4bf4ca 100644
--- a/docs/content.zh/docs/connectors/table/jdbc.md
+++ b/docs/content.zh/docs/connectors/table/jdbc.md
@@ -42,7 +42,7 @@ JDBC 连接器允许使用 JDBC 驱动向任意类型的关系型数据库读取
依赖
------------
-{{< sql_connector_download_table "jdbc" 3.0.0 >}}
+{{< sql_connector_download_table "jdbc" >}}
JDBC 连接器不是二进制发行版的一部分,请查阅[这里]({{< ref "docs/dev/configuration/overview" >}})了解如何在集群运行中引用 JDBC 连接器。
diff --git a/docs/content/docs/connectors/datastream/jdbc.md b/docs/content/docs/connectors/datastream/jdbc.md
index 1685af5..41e46fb 100644
--- a/docs/content/docs/connectors/datastream/jdbc.md
+++ b/docs/content/docs/connectors/datastream/jdbc.md
@@ -30,7 +30,7 @@ This connector provides a sink that writes data to a JDBC database.
To use it, add the following dependency to your project (along with your JDBC driver):
-{{< connector_artifact flink-connector-jdbc 3.1.0 >}}
+{{< connector_artifact flink-connector-jdbc jdbc >}}
Note that the streaming connectors are currently __NOT__ part of the binary distribution. See how to link with them for cluster execution [here]({{< ref "docs/dev/configuration/overview" >}}).
A driver dependency is also required to connect to a specified database. Please consult your database documentation on how to add the corresponding driver.
diff --git a/docs/content/docs/connectors/table/jdbc.md b/docs/content/docs/connectors/table/jdbc.md
index 5dec464..b8695ab 100644
--- a/docs/content/docs/connectors/table/jdbc.md
+++ b/docs/content/docs/connectors/table/jdbc.md
@@ -38,7 +38,7 @@ The JDBC sink operate in upsert mode for exchange UPDATE/DELETE messages with th
Dependencies
------------
-{{< sql_connector_download_table "jdbc" 3.0.0 >}}
+{{< sql_connector_download_table "jdbc" >}}
The JDBC connector is not part of the binary distribution.
See how to link with it for cluster execution [here]({{< ref "docs/dev/configuration/overview" >}}).
diff --git a/docs/data/jdbc.yml b/docs/data/jdbc.yml
index 754997e..487fcae 100644
--- a/docs/data/jdbc.yml
+++ b/docs/data/jdbc.yml
@@ -16,6 +16,7 @@
# limitations under the License.
################################################################################
+version: 3.1.0
variants:
- maven: flink-connector-jdbc
sql_url: https://repo.maven.apache.org/maven2/org/apache/flink/flink-sql-connector-jdbc/$full_version/flink-sql-connector-jdbc-$full_version.jar