You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Mike Percy (JIRA)" <ji...@apache.org> on 2016/07/01 00:18:10 UTC

[jira] [Commented] (FLUME-2940) File channel - delete old events making queue available for new events

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

Mike Percy commented on FLUME-2940:
-----------------------------------

You can check out the metrics to monitor the number of events in the channel.

> File channel - delete old events making queue available for new events
> ----------------------------------------------------------------------
>
>                 Key: FLUME-2940
>                 URL: https://issues.apache.org/jira/browse/FLUME-2940
>             Project: Flume
>          Issue Type: Question
>            Reporter: Yogesh BG
>
> I am using flume agent with avro source and custom sink.
> I want to keep sending events using avro source to agent, sink will not be available at this point of time 
> file size gets reached or capacity is reached, in both the case i have log-1, log-2 etc.
> In this case when i send next event, i get the exception, instead can i do something to delete old events and add new events? basically i want to clean up some old data making room for new data.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)