Flink Elasticsearch Connector 7带SSL

发布于 2025-02-11 17:41:47 字数 464 浏览 1 评论 0 原文

在我的Flink工作中,我正在尝试使用 Elasticsearch7 连接器。当使用 elasticsearch7sinkbuilder 时,我找不到通过SSL通信的方法?

另外,还有一个弃用的类 elasticsearchSink.builder 它具有 RESTCLIENTFACTORY ,我可以用来设置HTTPS连接,但是由于此类的弃用,因此想知道是否可以使用 elasticsearch7sinkbuilder

另外,由于 Elasticsearch 8 还没有连接器,是否可以将上述任何客户端与Elastic 8一起使用?

注意:以前,它曾经是Flink Doc中的弹性连接器兼容性矩阵,但我在DOC的持久版本中找不到它。

In my flink job, I am trying to use elasticsearch7 connector. I could not find a way to communicate over SSL when using Elasticsearch7SinkBuilder Am I missing something?

Also there is an deprecated class ElasticsearchSink.Builder where it has RestClientFactory which I can use to setup https connection but since this class is deprecated thus wondering if same is possible with Elasticsearch7SinkBuilder.

Also since there is no connector for elasticsearch 8 yet, Is it possible to use any of the above client with elastic 8?

Note: Earlier it used to be elastic connector compatibility matrix in Flink doc but I could not find it any more in lasted version of doc.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我要还你自由 2025-02-18 17:41:47

当前不支持与Elasticsearch7的SSL连接,并在

。您不能使用ES7连接器连接到ES8群集。

SSL connections to Elasticsearch7 are currently not supported and are tracked under https://issues.apache.org/jira/browse/FLINK-27054

An Elasticsearch8 connector is being tracked under https://issues.apache.org/jira/browse/FLINK-26088. You can't use the ES7 connector to connect to an ES8 cluster.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文