You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by da...@apache.org on 2023/04/13 08:35:53 UTC
[flink-connector-jdbc] branch v3.0 updated (d8faaa3 -> b329ae8)
This is an automated email from the ASF dual-hosted git repository.
dannycranmer pushed a change to branch v3.0
in repository https://gitbox.apache.org/repos/asf/flink-connector-jdbc.git
from d8faaa3 [hotfix][docs] Fix the broken postgresql driver download link
new a16e0d4 [FLINK-31759][JDBC] Using connector_artifact shortcode for datastream document.
new b329ae8 [FLINK-31759][JDBC] Using sql_connector_download_table shortcode for table document.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
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 +-
.github/workflows/push_pr.yml => docs/data/jdbc.yml | 13 +++----------
5 files changed, 7 insertions(+), 14 deletions(-)
copy .github/workflows/push_pr.yml => docs/data/jdbc.yml (78%)
[flink-connector-jdbc] 01/02: [FLINK-31759][JDBC] Using connector_artifact shortcode for datastream document.
Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
dannycranmer pushed a commit to branch v3.0
in repository https://gitbox.apache.org/repos/asf/flink-connector-jdbc.git
commit a16e0d4ade68177d11737973ec37181716e43627
Author: Weijie Guo <re...@163.com>
AuthorDate: Tue Apr 11 00:45:39 2023 +0800
[FLINK-31759][JDBC] Using connector_artifact shortcode for datastream document.
---
docs/content.zh/docs/connectors/datastream/jdbc.md | 2 +-
docs/content/docs/connectors/datastream/jdbc.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/content.zh/docs/connectors/datastream/jdbc.md b/docs/content.zh/docs/connectors/datastream/jdbc.md
index 55728ea..d0c2b3b 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 驱动):
-{{< artifact flink-connector-jdbc >}}
+{{< connector_artifact flink-connector-jdbc 3.0.0 >}}
注意该连接器目前还 __不是__ 二进制发行版的一部分,如何在集群中运行请参考 [这里]({{< ref "docs/dev/configuration/overview" >}})。
diff --git a/docs/content/docs/connectors/datastream/jdbc.md b/docs/content/docs/connectors/datastream/jdbc.md
index 4610e39..f120d80 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):
-{{< artifact flink-connector-jdbc >}}
+{{< connector_artifact flink-connector-jdbc 3.0.0 >}}
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.
[flink-connector-jdbc] 02/02: [FLINK-31759][JDBC] Using sql_connector_download_table shortcode for table document.
Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
dannycranmer pushed a commit to branch v3.0
in repository https://gitbox.apache.org/repos/asf/flink-connector-jdbc.git
commit b329ae8397b7b3b4e77eb1293c7243c485cb6a69
Author: Weijie Guo <re...@163.com>
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