flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-3882) Errors in sample Java code for the Elasticsearch 2.x sink
Date Mon, 09 May 2016 16:36:13 GMT

    [ https://issues.apache.org/jira/browse/FLINK-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15276590#comment-15276590
] 

ASF GitHub Bot commented on FLINK-3882:
---------------------------------------

Github user fhueske commented on the pull request:

    https://github.com/apache/flink/pull/1971#issuecomment-217917157
  
    Thanks for the fixes @markreddy. 
    +1 to merge


> 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
>   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)

Mime
View raw message