We are planning to use Apache Commons IO Tailer for real time log parsing. I want to understand how Tailer works internally, as if i specify delay parameter as 500msec and keys are continuously getting generated and at a very high rate, then will it be able to solve the purpose.
Example:
Tailer has handled till x number of line, now it waits for 500 msec and comes again.
Question:
- Does it start from the line it was on previously or it starts from first line each time.
- And how does Tailer behaves on file in which data is getting generated in real time, will it continue to tail the file and never stop tailing (and in this situation delay will never come into picture)