You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fabian Hueske (JIRA)" <ji...@apache.org> on 2016/05/10 20:40:12 UTC
[jira] [Closed] (FLINK-3882) Errors in sample Java code for the
Elasticsearch 2.x sink
[ https://issues.apache.org/jira/browse/FLINK-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fabian Hueske closed FLINK-3882.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.1.0
Fixed with 43bd6f6e4020d4102c34c5874ddfa850a281c8c8
> Errors in sample Java code for the Elasticsearch 2.x sink
> ---------------------------------------------------------
>
> Key: FLINK-3882
> URL: https://issues.apache.org/jira/browse/FLINK-3882
> Project: Flink
> Issue Type: Bug
> Components: Documentation, Streaming Connectors
> Affects Versions: 1.1.0
> Reporter: Mark Reddy
> Priority: Trivial
> Fix For: 1.1.0
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> The sample Java code for the Elasticsearch 2.x sink doc[1] has numerous errors in it, which seems to be resulting from porting the Scala example to Java.
> e.g.
> {code}
> public IndexRequest createIndexRequest(String element): IndexRequest = {
> Map<String,String> json = new HashMap<>()
> json.put("data", element)
> {code}
> [1] https://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/connectors/elasticsearch2.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)