vectordotdev / vectordotdev/vector
Add support for file data to generator source
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 22.6k
- Forks
- 2.3k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 146
Description
The generator source creates events based on a static set of text lines hard-coded into the configuration file. It would be useful (for what?) to be able to load the lines from a file, rewinding and replaying the file for each batch.
Ref: https://github.com/timberio/vector/pull/2286#discussion_r409817131
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the generator source and the configuration handling referenced by PR #2286, then inspect how static text lines are batched and replayed. Done means the generator can load lines from a configured file and rewind and replay them for each batch, with coverage for the file-backed behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- stream-processing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100