Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracker ¶
type Tracker interface { Add(reader *reader.Reader) GetCurrentFile(fp *fingerprint.Fingerprint) *reader.Reader GetOpenFile(fp *fingerprint.Fingerprint) *reader.Reader GetClosedFile(fp *fingerprint.Fingerprint) *reader.Metadata GetMetadata() []*reader.Metadata LoadMetadata(metadata []*reader.Metadata) CurrentPollFiles() []*reader.Reader PreviousPollFiles() []*reader.Reader ClosePreviousFiles() int EndPoll() EndConsume() int TotalReaders() int }
Interface for tracking files that are being consumed.
func NewFileTracker ¶ added in v0.99.0
func NewFileTracker(set component.TelemetrySettings, maxBatchFiles int) Tracker
func NewNoStateTracker ¶ added in v0.99.0
func NewNoStateTracker(set component.TelemetrySettings, maxBatchFiles int) Tracker
Click to show internal directories.
Click to hide internal directories.