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

Chris Birchall commented on FLUME-1100:
---------------------------------------

I have a patch for one half of this issue, namely making HDFSFormatterFactory 
pluggable.

The code uses the same idea as EventSerializerFactory, where users can pass 
either one of a few hardcoded strings ("Text", "Writable") or the class name of 
a Builder class.

The code is also available for review here: 
https://github.com/cb372/flume/tree/custom-hdfs-formatter

If you think this is reasonable then I can easily rewrite HDFSWriterFactory in 
a similar way.
                
> HDFSWriterFactory and HDFSFormatterFactory should allow extension
> -----------------------------------------------------------------
>
>                 Key: FLUME-1100
>                 URL: https://issues.apache.org/jira/browse/FLUME-1100
>             Project: Flume
>          Issue Type: Improvement
>    Affects Versions: v1.1.0
>            Reporter: Brock Noland
>
> Users should be able to plugin a class for both factories

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to