Skip to content

Commit

Permalink
[FLINK-32024][docs] Short code related to externalized connector retr…
Browse files Browse the repository at this point in the history
…ieve version from its own data yaml
  • Loading branch information
reswqa committed May 15, 2023
1 parent 0db0b6c commit 12e1622
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docs/content.zh/docs/connectors/datastream/elasticsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" >}})。
Expand Down
2 changes: 1 addition & 1 deletion docs/content.zh/docs/connectors/table/elasticsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 连接器。

Expand Down
6 changes: 3 additions & 3 deletions docs/content/docs/connectors/datastream/elasticsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/connectors/table/elasticsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" >}}).
Expand Down
1 change: 1 addition & 0 deletions docs/data/elastic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# limitations under the License.
################################################################################

version: 4.0.0-SNAPSHOT
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
Expand Down

0 comments on commit 12e1622

Please sign in to comment.