[
https://issues.apache.org/jira/browse/FLUME-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431611#comment-13431611
]
Juhani Connolly commented on FLUME-1436:
----------------------------------------
Hari: I think we can do this with an optional interface that can be implemented
by channels that allow themselves to be polled. It'll mean pollers need to
check for it, but it could be a workable way to achieve this.
> 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