Expand description
Observe, from outside the consumer processes, how far each consumer trails the newest data in a log directory.
Structs§
- Consumer
Backlog - How far one consumer’s checkpoint trails the newest data in the log directory.
Functions§
- scan_
backlog - Scan
directoryand report the backlog of each consumer relative to the newest segment matchingpattern. Consumers are discovered by their.<checkpoint_name>files. Segment contents are never decompressed. Only their directory listing and file metadata are read. A nonexistent directory yields an empty report.