[ https://issues.apache.org/jira/browse/FLINK-7386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16167357#comment-16167357 ]
ASF GitHub Bot commented on FLINK-7386: --------------------------------------- GitHub user zjureel opened a pull request: https://github.com/apache/flink/pull/4675 [FLINK-7386] FIx Elasticsearch 5 connector is not compatible with Elasticsearch 5.2+ client ## What is the purpose of the change Add flink-connector-elasticsearch5.3 to support Elasticsearch 5.3 and later version ## Brief change log - *Add createRequestIndex method in ElasticsearchApiCallBridge* - *Add flink-connector-elasticsearch5.3 project* - *Add BulkProcessorIndexer in connector-elasticsearch5.3 to convert ActionRequest to DocWriteRequest* ## Verifying this change This change added tests and can be verified as follows: - *Add ElasticsearchSinkITCase test case* - *Add ELasticsearchSinkExample in connector-elasticsearch5.3 to send request to Elasticsearch 5.3 and later versions* ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (no) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no) - The serializers: (no) - The runtime per-record code paths (performance sensitive): (no) - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no) ## Documentation - Does this pull request introduce a new feature? (yes) - If yes, how is the feature documented? (docs) You can merge this pull request into a Git repository by running: $ git pull https://github.com/zjureel/flink FLINK-7386 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/4675.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4675 ---- commit 9dd30ccb5f5bd9940c8f1cfea4ffeb256d564862 Author: zjureel <zjur...@gmail.com> Date: 2017-09-15T03:51:35Z [FLINK-7386] Change ElasticsearchApiCallBridge to abstract class and add createRequestIndex method commit 5936bc7734557f75dc4b0c06cfc31b0b0e49a91a Author: zjureel <zjur...@gmail.com> Date: 2017-09-15T03:55:16Z [FLINK-7386] add flink-connector-elasticsearch5.3 for elasticsearch5.3 and later versions commit dbc87bb1dd361a2e840bd382814a780aa96a45c2 Author: zjureel <zjur...@gmail.com> Date: 2017-09-15T04:42:44Z [FLINK-7386] add test case for ES53 commit 74972ab9798e4e9173ad4cc4a6ec6bdf1390f98a Author: zjureel <zjur...@gmail.com> Date: 2017-09-15T05:33:43Z [FLINK-7386] add document for ES5.3 ---- > Flink Elasticsearch 5 connector is not compatible with Elasticsearch 5.2+ > client > -------------------------------------------------------------------------------- > > Key: FLINK-7386 > URL: https://issues.apache.org/jira/browse/FLINK-7386 > Project: Flink > Issue Type: Improvement > Components: ElasticSearch Connector > Reporter: Dawid Wysakowicz > Assignee: Fang Yong > > In Elasticsearch 5.2.0 client the class {{BulkProcessor}} was refactored and > has no longer the method {{add(ActionRequest)}}. > For more info see: https://github.com/elastic/elasticsearch/pull/20109 -- This message was sent by Atlassian JIRA (v6.4.14#64029)