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:00:58 UTC

[flink-connector-elasticsearch] 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-elasticsearch.git


The following commit(s) were added to refs/heads/v3.0 by this push:
     new 5ac2730  [FLINK-32024][docs] Short code related to externalized connector retrieve version from its own data yaml
5ac2730 is described below

commit 5ac273074e59ce06891d30e5782c23dcf2d9015b
Author: Weijie Guo <re...@163.com>
AuthorDate: Thu May 11 22:27:39 2023 +0800

    [FLINK-32024][docs] Short code related to externalized connector retrieve version from its own data yaml
---
 docs/content.zh/docs/connectors/datastream/elasticsearch.md | 6 +++---
 docs/content.zh/docs/connectors/table/elasticsearch.md      | 2 +-
 docs/content/docs/connectors/datastream/elasticsearch.md    | 6 +++---
 docs/content/docs/connectors/table/elasticsearch.md         | 2 +-
 docs/data/elastic.yml                                       | 1 +
 5 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/docs/content.zh/docs/connectors/datastream/elasticsearch.md b/docs/content.zh/docs/connectors/datastream/elasticsearch.md
index 20a0f4b..98c193c 100644
--- a/docs/content.zh/docs/connectors/datastream/elasticsearch.md
+++ b/docs/content.zh/docs/connectors/datastream/elasticsearch.md
@@ -42,16 +42,16 @@ under the License.
   <tbody>
     <tr>
         <td>6.x</td>
-        <td>{{< connector_artifact flink-connector-elasticsearch6 3.0.0 >}}</td>
+        <td>{{< connector_artifact flink-connector-elasticsearch6 elastic >}}</td>
     </tr>
     <tr>
         <td>7.x</td>
-        <td>{{< connector_artifact flink-connector-elasticsearch7 3.0.0 >}}</td>
+        <td>{{< connector_artifact flink-connector-elasticsearch7 elastic >}}</td>
     </tr>
   </tbody>
 </table>
 
-{{< py_connector_download_link "elastic" 3.0.0 >}}
+{{< py_connector_download_link "elastic" >}}
 
 请注意,流连接器目前不是二进制发行版的一部分。
 有关如何将程序和用于集群执行的库一起打包,参考[此文档]({{< ref "docs/dev/configuration/overview" >}})。
diff --git a/docs/content.zh/docs/connectors/table/elasticsearch.md b/docs/content.zh/docs/connectors/table/elasticsearch.md
index 96d7461..4113f40 100644
--- a/docs/content.zh/docs/connectors/table/elasticsearch.md
+++ b/docs/content.zh/docs/connectors/table/elasticsearch.md
@@ -38,7 +38,7 @@ Elasticsearch 连接器允许将数据写入到 Elasticsearch 引擎的索引中
 依赖
 ------------
 
-{{< sql_connector_download_table "elastic" 3.0.0 >}}
+{{< sql_connector_download_table "elastic" >}}
 
 Elasticsearch 连接器不是二进制发行版的一部分,请查阅[这里]({{< ref "docs/dev/configuration/overview" >}})了解如何在集群运行中引用 Elasticsearch 连接器。
 
diff --git a/docs/content/docs/connectors/datastream/elasticsearch.md b/docs/content/docs/connectors/datastream/elasticsearch.md
index fdacc70..9086090 100644
--- a/docs/content/docs/connectors/datastream/elasticsearch.md
+++ b/docs/content/docs/connectors/datastream/elasticsearch.md
@@ -44,16 +44,16 @@ of the Elasticsearch installation:
   <tbody>
     <tr>
         <td>6.x</td>
-        <td>{{< connector_artifact flink-connector-elasticsearch6 3.0.0 >}}</td>
+        <td>{{< connector_artifact flink-connector-elasticsearch6 elastic >}}</td>
     </tr>
     <tr>
         <td>7.x</td>
-        <td>{{< connector_artifact flink-connector-elasticsearch7 3.0.0 >}}</td>
+        <td>{{< connector_artifact flink-connector-elasticsearch7 elastic >}}</td>
     </tr>
   </tbody>
 </table>
 
-{{< py_connector_download_link "elastic" 3.0.0 >}}
+{{< py_connector_download_link "elastic" >}}
 
 Note that the streaming connectors are currently not part of the binary
 distribution. See [here]({{< ref "docs/dev/configuration/overview" >}}) for information
diff --git a/docs/content/docs/connectors/table/elasticsearch.md b/docs/content/docs/connectors/table/elasticsearch.md
index ffa36ff..26f21a2 100644
--- a/docs/content/docs/connectors/table/elasticsearch.md
+++ b/docs/content/docs/connectors/table/elasticsearch.md
@@ -38,7 +38,7 @@ If no primary key is defined on the DDL, the connector can only operate in appen
 Dependencies
 ------------
 
-{{< sql_connector_download_table "elastic" 3.0.0 >}}
+{{< sql_connector_download_table "elastic" >}}
 
 The Elasticsearch 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/elastic.yml b/docs/data/elastic.yml
index 625f4a1..8a22e19 100644
--- a/docs/data/elastic.yml
+++ b/docs/data/elastic.yml
@@ -16,6 +16,7 @@
 # limitations under the License.
 ################################################################################
 
+version: 3.0.1
 variants:
   - maven: flink-connector-elasticsearch6
     sql_url: https://repo.maven.apache.org/maven2/org/apache/flink/flink-sql-connector-elasticsearch6/$full_version/flink-sql-connector-elasticsearch6-$full_version.jar