[ 
https://issues.apache.org/jira/browse/FLUME-2955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

tinawenqiao updated FLUME-2955:
-------------------------------
    Attachment: FLUME-2955_4.patch

Improve the performance of two for cycles in ReliableTaildirEventReader.java

> Add file path to the header in TaildirSource
> --------------------------------------------
>
>                 Key: FLUME-2955
>                 URL: https://issues.apache.org/jira/browse/FLUME-2955
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources
>    Affects Versions: v1.7.0
>            Reporter: tinawenqiao
>              Labels: file, path, taildirsource
>             Fix For: v1.7.0
>
>         Attachments: FLUME-2955.patch, FLUME-2955_2.patch, 
> FLUME-2955_3.patch, FLUME-2955_4.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> After using TaildirSource to collect log data, I found that there is no file 
> path in the flume event. 
> Though TaildirSource supports add customed header value like this : 
> a1.sources.r1.headers.f1.headerKey1 = value1, 
> we can't add file path to the header when the filegroup path contains regex 
> expression.File path is necessary to locate the log data.



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

Reply via email to