This is an automated email from the ASF dual-hosted git repository. wanglijie pushed a commit to branch pick-docs-related-fix in repository https://gitbox.apache.org/repos/asf/flink-connector-jdbc.git
commit 56c00c5e9ae011bb981e12393666bd7ace15fb4b Author: Weijie Guo <[email protected]> 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 e7a0960..c9d35d2 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.1.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 c749ace..25bc205 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.1.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
