keedio/flume-taildirectory-source

Agent shutdown fail causes log lines lost

Opened this issue · 0 comments

If flume agent fails and the service stops, when it's restarted taildirectory can't start from the last line processed.

One posibility to avoid this problem is to save the current file pointer and serialize an object containing this pointer and the inode file identification.