[
https://issues.apache.org/jira/browse/FLUME-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15357518#comment-15357518
]
Mike Percy commented on FLUME-2940:
-----------------------------------
Yeah I suppose it depends on how you interpret that:
1. We could implement support in the FileChannel for treating it like a
circular buffer, and throwing away old data.
2. An admnistrator can manually clear out the channel using a null sink.
I would recommend #2 if possible since #1 isn't implemented today and we
haven't seen much demand for it.
> 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)