@Ralph - Since your patch made through, I will modify my patch to a different PathManager, if one wants to delete old files. Does that sound fair?
On Fri, Feb 5, 2016 at 2:41 PM, Ralph Goers (JIRA) <j...@apache.org> wrote: > > [ > https://issues.apache.org/jira/browse/FLUME-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Ralph Goers updated FLUME-2875: > ------------------------------- > Attachment: FLUME-2875.patch > > Updated patch to allow file name to use current time and date > > > Allow RollingFileSink to specify a file prefix and a file extension. > > -------------------------------------------------------------------- > > > > Key: FLUME-2875 > > URL: https://issues.apache.org/jira/browse/FLUME-2875 > > Project: Flume > > Issue Type: Improvement > > Components: Sinks+Sources > > Affects Versions: v1.6.0 > > Reporter: Ralph Goers > > Assignee: Ralph Goers > > Fix For: v1.7.0 > > > > Attachments: FLUME-2875.patch > > > > > > Currently the RollingFileSink is hard-wired to use a specific > PathManager that creates file based on a timestamp and and incrementing > value. User's should have the ability to add a prefix to the file name and > to add a file extension to properly identify the type of data in the file. > In addition, user's should have the ability to provide their own > PathManager implementation to allow them to construct the file names and > locations however they desire. > > > > -- > This message was sent by Atlassian JIRA > (v6.3.4#6332) >