Crate file_source

Source

Modules§

buffer
paths_provider
Abstractions to allow configuring ways to provide the paths list for the file source to watch and read.

Structs§

Checkpointer
CheckpointsView
A thread-safe handle for reading and writing checkpoints in-memory across multiple threads.
FileServer
FileServer is a Source which cooperatively schedules reads over files, converting the lines of said files into LogLine structures. As FileServer is intended to be useful across multiple operating systems with POSIX filesystem semantics FileServer must poll for changes. That is, no event notification is used by FileServer.
FileServerShutdown
A sentinel type to signal that file server was gracefully shut down.
Fingerprinter
Line

Enums§

FileFingerprint
FingerprintStrategy
ReadFrom
ReadFromConfig
File position to use when reading a new file.

Constants§

CHECKPOINT_FILE_NAME

Traits§

FileSourceInternalEvents
Every internal event in this crate has a corresponding method in this trait which should emit the event.

Functions§

calculate_ignore_before

Type Aliases§

FilePosition