Re: Upserts with Flink-elasticsearch
Posted by
Zach Cox on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Upserts-with-Flink-elasticsearch-tp5767p5769.html
Hi Madhukar - with the current Elasticsearch sink in Flink 1.0.0 [1], I don't think an upsert is possible, since IndexRequestBuilder can only return an IndexRequest.
In Flink 1.1, the Elasticsearch 2.x sink [2] provides a RequestIndexer [3] that you can pass an UpdateRequest to do an upsert.
Thanks,
Zach
On Mon, Mar 28, 2016 at 2:18 PM Madhukar Thota <
[hidden email]> wrote:
Is it possible to do Upsert with existing flink-elasticsearch connector today?