[ https://issues.apache.org/jira/browse/FLINK-16713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17140953#comment-17140953 ]
jackylau commented on FLINK-16713: ---------------------------------- for option1: *original* add this method to ApiCallBridge : SearchResponse search(C client, SearchRequest searchRequest) throws IOException; *now* modified to: // extract SearchResponse and tranform scroll and SearchHit[] to Tuple2<String, String[]> in every es connector Tuple2<String, String[]>search(C client, SearchRequest searchRequest) throws IOException; > Support source mode of elasticsearch connector > ---------------------------------------------- > > Key: FLINK-16713 > URL: https://issues.apache.org/jira/browse/FLINK-16713 > Project: Flink > Issue Type: Improvement > Components: Connectors / ElasticSearch > Affects Versions: 1.10.0 > Reporter: jackray wang > Priority: Major > > [https://ci.apache.org/projects/flink/flink-docs-release-1.10/dev/table/connect.html#elasticsearch-connector] > For append-only queries, the connector can also operate in [append > mode|https://ci.apache.org/projects/flink/flink-docs-release-1.10/dev/table/connect.html#update-modes] > for exchanging only INSERT messages with the external system. If no key is > defined by the query, a key is automatically generated by Elasticsearch. > I want to know ,why the connector of flink with ES just support sink but > doesn't support source .Which version could add this feature to ? -- This message was sent by Atlassian Jira (v8.3.4#803005)