[
https://issues.apache.org/jira/browse/FLUME-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15357936#comment-15357936
]
Yogesh BG commented on FLUME-2940:
----------------------------------
I would agree with you to add it as a plugin. Can you guide me to wake up
sink only when source is reaching done threshold and read the old data n
drop off... basically I mean I want to know any utility to check what's the
current of the channel, how many events are there in channel.
One more thing I observed, after the sink reads event the size of logs file
in data folder isn't getting reduced and more ever after I read in sink am
committing transaction.
> 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)