Great, if you have any question about it, let me know.


On 12/03/14 19:00, Hari Shreedharan (JIRA) wrote:
     [ 
https://issues.apache.org/jira/browse/FLUME-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13932082#comment-13932082
 ]

Hari Shreedharan commented on FLUME-2344:
-----------------------------------------

Tail source is something awesome to have if we can get it right. I will review 
this soon, but I am not sure I will be able to do this before the next release 
though.

New source for tailing files
----------------------------

                 Key: FLUME-2344
                 URL: https://issues.apache.org/jira/browse/FLUME-2344
             Project: Flume
          Issue Type: Improvement
          Components: Sinks+Sources
    Affects Versions: v1.4.0
         Environment: Centos 6.4, Java 1.6.0_34
            Reporter: Guillermo Ortiz Fernández, Pragsis.
             Fix For: v1.4.0

         Attachments: FLUME-2344-0.patch


New source to be able to tail a file. There's a extra file when it saves the 
last offset until it has been read. So, it Flume is down, it could read the 
data it lost. It has been implemented control about rotated files.
The possible variables to configure this source are:
-BufferSize gives us the possibility to send little to little.
-Separator to cut the lines wherever we want  to to generate our events.
-WatchedFile to indicate what file we want to watch.
-RotatedFile to indicate where the wacthed file is going to rotate.
-Type of events to indicate if we generate one event per line or we want to 
group many lines and just emit one event.


--
This message was sent by Atlassian JIRA
(v6.2#6252)


--
*Guillermo Ortiz*
/Big Data Developer/

Telf.: +34 917 680 490
Fax: +34 913 833 301
C/ Manuel Tovar, 49-53 - 28034 Madrid - Spain

_http://www.bidoop.es_

Reply via email to