This is an automated email from the ASF dual-hosted git repository.

guoweijie pushed a commit to branch v3.0-py-test
in repository https://gitbox.apache.org/repos/asf/flink-connector-pulsar.git

commit 56894f01b28461b53b61fcb0ef907f7b8500fd26
Author: Weijie Guo <[email protected]>
AuthorDate: Sun May 7 12:02:02 2023 +0800

    [hotfix] Python connector download link should refer to the url defined in 
externalized repository
---
 .../content.zh/docs/connectors/datastream/pulsar.md |  2 +-
 docs/content/docs/connectors/datastream/pulsar.md   |  2 +-
 docs/data/pulsar.yml                                | 21 +++++++++++++++++++++
 3 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/docs/content.zh/docs/connectors/datastream/pulsar.md 
b/docs/content.zh/docs/connectors/datastream/pulsar.md
index ea5bf60..1ee8c39 100644
--- a/docs/content.zh/docs/connectors/datastream/pulsar.md
+++ b/docs/content.zh/docs/connectors/datastream/pulsar.md
@@ -34,7 +34,7 @@ Pulsar Source 当前支持 Pulsar 2.8.1 之后的版本,但是 Pulsar Source 
 
 {{< connector_artifact flink-connector-pulsar 3.0.0 >}}
 
-{{< py_download_link "pulsar" >}}
+{{< py_connector_download_link "pulsar" 3.0.0 >}}
 
 Flink 的流连接器并不会放到发行文件里面一同发布,阅读[此文档]({{< ref "docs/dev/configuration/overview" 
>}}),了解如何将连接器添加到集群实例内。
 
diff --git a/docs/content/docs/connectors/datastream/pulsar.md 
b/docs/content/docs/connectors/datastream/pulsar.md
index b70bdf9..efb5f52 100644
--- a/docs/content/docs/connectors/datastream/pulsar.md
+++ b/docs/content/docs/connectors/datastream/pulsar.md
@@ -34,7 +34,7 @@ Details on Pulsar compatibility can be found in 
[PIP-72](https://github.com/apac
 
 {{< connector_artifact flink-connector-pulsar 3.0.0 >}}
 
-{{< py_download_link "pulsar" >}}
+{{< py_connector_download_link "pulsar" 3.0.0 >}}
 
 Flink's streaming connectors are not part of the binary distribution.
 See how to link with them for cluster execution [here]({{< ref 
"docs/dev/configuration/overview" >}}).
diff --git a/docs/data/pulsar.yml b/docs/data/pulsar.yml
new file mode 100644
index 0000000..c7b2c2b
--- /dev/null
+++ b/docs/data/pulsar.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-pulsar
+    sql_url: 
https://repo.maven.apache.org/maven2/org/apache/flink/flink-sql-connector-pulsar/$full_version/flink-sql-connector-pulsar-$full_version.jar
\ No newline at end of file

Reply via email to