You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Edward Sargisson (JIRA)" <ji...@apache.org> on 2013/04/09 19:46:16 UTC

[jira] [Updated] (FLUME-1972) ElasticSearchSink now allows the id of the document to be provided by a custom class

     [ https://issues.apache.org/jira/browse/FLUME-1972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Sargisson updated FLUME-1972:
------------------------------------

    Summary: ElasticSearchSink now allows the id of the document to be provided by a custom class  (was: ElasticSearcSink now allows the id of the document to be provided by a custom class)
    
> ElasticSearchSink now allows the id of the document to be provided by a custom class
> ------------------------------------------------------------------------------------
>
>                 Key: FLUME-1972
>                 URL: https://issues.apache.org/jira/browse/FLUME-1972
>             Project: Flume
>          Issue Type: New Feature
>          Components: Sinks+Sources
>    Affects Versions: v1.3.1
>            Reporter: Edward Sargisson
>             Fix For: v1.4.0
>
>         Attachments: FLUME-1972-1.4.0-1.patch, FLUME-1972-1.4.0.patch
>
>
> Sometimes, you want to set the id on the document that is being written to elasticsearch so that you can later search by that id or overwrite previous versions of the same document (as they have the same id).
> This enhancement allows developers to provide a custom class that can read the incoming Avro event and determine the ID from it.
> We currently have this enhancement working successfully against Flume 1.3.1. A patch against trunk will be provided shortly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira