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/05 20:39:16 UTC

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

Edward Sargisson created FLUME-1972:
---------------------------------------

             Summary: ElasticSearcSink 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


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