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
commit 1d7559ee8acc5ac952d92634f9c723f543ec9074 Author: Weijie Guo <[email protected]> AuthorDate: Mon Apr 10 23:28:24 2023 +0800 [FLINK-31759][es] Update ElasticSearch connector to use sql_connector_download_table shortcode. --- .../docs/connectors/table/elasticsearch.md | 2 +- .../content/docs/connectors/table/elasticsearch.md | 2 +- docs/data/elastic.yml | 23 ++++++++++++++++++++++ 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/docs/content.zh/docs/connectors/table/elasticsearch.md b/docs/content.zh/docs/connectors/table/elasticsearch.md index e7e0552..96d7461 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_download_table "elastic" >}} +{{< sql_connector_download_table "elastic" 3.0.0 >}} Elasticsearch 连接器不是二进制发行版的一部分,请查阅[这里]({{< ref "docs/dev/configuration/overview" >}})了解如何在集群运行中引用 Elasticsearch 连接器。 diff --git a/docs/content/docs/connectors/table/elasticsearch.md b/docs/content/docs/connectors/table/elasticsearch.md index 6956fda..ffa36ff 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_download_table "elastic" >}} +{{< sql_connector_download_table "elastic" 3.0.0 >}} 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 new file mode 100644 index 0000000..625f4a1 --- /dev/null +++ b/docs/data/elastic.yml @@ -0,0 +1,23 @@ +################################################################################ +# 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-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 + - maven: flink-connector-elasticsearch7 + sql_url: https://repo.maven.apache.org/maven2/org/apache/flink/flink-sql-connector-elasticsearch7/$full_version/flink-sql-connector-elasticsearch7-$full_version.jar
