[
https://issues.apache.org/jira/browse/FLINK-13025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16909329#comment-16909329
]
Victor commented on FLINK-13025:
--------------------------------
Hi [~aljoscha], I was looking for an ES 7.X connector and came across this US.
My apologies for chiming in, but I believe the vast majority of those
compilation issues might go away if you add a "RequestOptions" parameter since
it seems ES Method's changed their signature and are requiring it since 7.0
[https://www.elastic.co/guide/en/elasticsearch/client/java-rest/7.x/java-rest-high-getting-started-request-options.html]
Also, I've noticed the connector submits "type" name with the IndexRequest and
although is marked as deprecated in 7.2.0, it will go away soon, ES moved to a
1 to 1 relation between MappingType and Index since later versions of 6 and
it's definitely not supported I believe since 7.0 so since 6.8 you can no
longer name the type and it will default to "_doc"
[https://www.elastic.co/guide/en/elasticsearch/reference/7.0/breaking-changes-7.0.html#include-type-name-defaults-false]
So overall I believe a new connector will be needed for 7.X eventhough most of
the code will still work with minor changes.
> Elasticsearch 7.x support
> -------------------------
>
> Key: FLINK-13025
> URL: https://issues.apache.org/jira/browse/FLINK-13025
> Project: Flink
> Issue Type: New Feature
> Components: Connectors / ElasticSearch
> Affects Versions: 1.8.0
> Reporter: Keegan Standifer
> Priority: Major
>
> Elasticsearch 7.0.0 was released in April of 2019:
> [https://www.elastic.co/blog/elasticsearch-7-0-0-released]
> The latest elasticsearch connector is
> [flink-connector-elasticsearch6|https://github.com/apache/flink/tree/master/flink-connectors/flink-connector-elasticsearch6]
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)