vectordotdev / vectordotdev/vector
Building topology from scripts
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 22.6k
- Forks
- 2.3k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 146
Description
It is interesting to explore ways to build topology from a scripting language, such as Lua or JavaScript.
Initially we can experiment with it without modifying Vector's code by implementing APIs for one of scripting languages which would allow to generate TOML configs and then send SIGHUP signal to Vector to load it (or just restart it). The overall idea of implementing it would be similar to the implementation of Vector kernel for Jupyter (https://github.com/timberio/vector/issues/1318).
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 by reading the linked Jupyter kernel issue (#1318) and compare its approach with the proposed scripting APIs. Explore how a Lua or JavaScript API could generate TOML configurations and trigger Vector reloads with SIGHUP or a restart. Done means a concrete, working approach for building topology from scripts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, lua
- Domain
- stream-processing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100