[
https://issues.apache.org/jira/browse/FLUME-1972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Edward Sargisson updated FLUME-1972:
------------------------------------
Attachment: FLUME-1972-1.4.0.patch
> 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
>
> Attachments: 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