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

Mike Percy commented on FLUME-2015:
-----------------------------------

Hi Tim,
Thanks very much for the patch! I think you will be happy to know that there is 
current work ongoing on a new serializer interface, as the existing API cannot 
be modified due to a desire to maintain backwards API compatibility for Flume 
plugin writers.

It would be really great if you could coordinate with Edward Sargisson since he 
has a patch up to implement a new serializer in FLUME-1782, and it would be 
unfortunate if that new interface would not be able to handle your use case.

A couple of additional things I'd also ask of you:
* Can you provide a bit more information about what your motivating use case is 
for this API enhancement?
* Please check out the [Providing Patches section of our How to Contribute 
page|https://cwiki.apache.org/confluence/display/FLUME/How+to+Contribute#HowtoContribute-ProvidingPatches]
 to find out how to attach a patch to a JIRA ticket.

Thanks!

Regards,
Mike
                
> ElasticSearchSink: need access to IndexRequestBuilder instance during flume 
> event processing
> --------------------------------------------------------------------------------------------
>
>                 Key: FLUME-2015
>                 URL: https://issues.apache.org/jira/browse/FLUME-2015
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources
>    Affects Versions: v1.3.0, v1.3.1
>            Reporter: Tim Bacon
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> I need more control over the indexing performed by the {{ElasticSearchSink}} 
> -- in particular I need access to an {{IndexRequestBuilder}} instance during 
> flume event processing. The interactions between {{ElasticSearchSink}} and 
> {{ElasticSearchEventSerializer}} currently do not make this possible.
> I have authored a patch that meets my needs and maintains 
> backwards-compatibility for existing users of the sink. It is available at 
> [https://github.com/prime8/flume/commit/1056c129b10c95cee50e0c3f77e309668f82bfc6]
>  -- please let me know if it can be pulled into the main ASF source tree!
> Thanks :-)

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

Reply via email to