vectordotdev / vectordotdev/vector

Add support for file data to generator source

Open
#2,388 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

have: nice needs: approval source: demo_logs
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.