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

Hari Shreedharan commented on FLUME-1780:
-----------------------------------------

I am not sure how either of these benefits are not achieved/achievable using 
the current Configurable interface - using which all other components are 
created and configured. We remove them if we cannot configure them (configure 
throws exception that is), which is what we do for every other component. Also 
note that we already have factories which do the creation and configuration - 
this class could simply call configure() - if it throws then throw the object 
away. 

I really do not see the value of the extra level of indirection in this case.
                
> Interceptors and serializers should not expect users to supply builders or 
> specify the builders in configuration
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: FLUME-1780
>                 URL: https://issues.apache.org/jira/browse/FLUME-1780
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Hari Shreedharan
>
> Forcing a programming model on users is not a good thing to do. We have 
> already specified the interfaces, that should be enough

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