Elasticsearch 5 connector in Apache Flink 1.3

随声附和 提交于 2019-12-22 10:49:16

问题


By reading the documentation I understood that with Apache Flink 1.3 I should be able to use Elasticsearch 5.x.

However, in my pom.xml :

    <dependency>
        <groupId>org.apache.flink</groupId>
        <artifactId>flink-connector-elasticsearch5_2.10</artifactId>
        <version>1.3.0</version>
    </dependency>

I got this :

Dependency "org.apache.flink:flink-connector-elasticsearch5_2.10:1.3.0" not found

Any idea why this dependency is unfound ?


回答1:


This was a bug in the 1.3.0 release and is being fixed for 1.3.1 (which is due very soon). See the mailing list for more details.




回答2:


Use the following in the pom.xml

<dependency>
    <groupId>org.apache.flink</groupId>
    <artifactId>flink-connector-elasticsearch5_2.10</artifactId>
    <version>1.3.1</version>
</dependency>


来源:https://stackoverflow.com/questions/44431983/elasticsearch-5-connector-in-apache-flink-1-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!