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

Hari Shreedharan commented on FLUME-1436:
-----------------------------------------

Jarcec - we cannot introduce new methods in a minor/point release. It will 
force anyone with custom code to recompile their code if they upgrade the 
version of Flume in their build environment. I don't think we can do that 
unless it is a major release - 1.x to 2.x. 

You can probably update something like the SinkCounter or something to add this 
functionality. 
                
> Introduced methods in Channel interface to get number of stored events and 
> channel capacity (if applicable)
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: FLUME-1436
>                 URL: https://issues.apache.org/jira/browse/FLUME-1436
>             Project: Flume
>          Issue Type: Improvement
>    Affects Versions: v1.2.0
>            Reporter: Jarek Jarcec Cecho
>
> Would be great if the main Channel interface would force all channels to 
> implement two new methods. One that would return current number of events 
> stored in the channel and second that would return configured capacity (that 
> might change over time due to online reconfiguration).

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