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

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

Agreed. What I meant to say was we cannot change the Channel interface or any 
other existing interfaces. We can of course add it to another interface, which 
supporting channels can implement. 
                
> 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