This is an automated email from the ASF dual-hosted git repository. guoweijie pushed a commit to branch v3.0.0-docs in repository https://gitbox.apache.org/repos/asf/flink-connector-jdbc.git
commit 74a91922bcbe405f8450473bda7e302236d3d2f3 Author: Weijie Guo <[email protected]> AuthorDate: Tue Apr 11 00:50:25 2023 +0800 [FLINK-31759][JDBC] Using sql_connector_download_table shortcode for table document. --- docs/content.zh/docs/connectors/table/jdbc.md | 2 +- docs/content/docs/connectors/table/jdbc.md | 2 +- docs/data/jdbc.yml | 21 +++++++++++++++++++++ 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/docs/content.zh/docs/connectors/table/jdbc.md b/docs/content.zh/docs/connectors/table/jdbc.md index 59f9c7c..476cb22 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_download_table "jdbc" >}} +{{< sql_connector_download_table "jdbc" 3.0.0 >}} JDBC 连接器不是二进制发行版的一部分,请查阅[这里]({{< ref "docs/dev/configuration/overview" >}})了解如何在集群运行中引用 JDBC 连接器。 diff --git a/docs/content/docs/connectors/table/jdbc.md b/docs/content/docs/connectors/table/jdbc.md index 28339cc..5dec464 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_download_table "jdbc" >}} +{{< sql_connector_download_table "jdbc" 3.0.0 >}} 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 new file mode 100644 index 0000000..754997e --- /dev/null +++ b/docs/data/jdbc.yml @@ -0,0 +1,21 @@ +################################################################################ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +################################################################################ + +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
