Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide generic generate_config and test_generate_config #21865

Open
pront opened this issue Nov 21, 2024 · 1 comment
Open

Provide generic generate_config and test_generate_config #21865

pront opened this issue Nov 21, 2024 · 1 comment
Labels
domain: config Anything related to configuring Vector domain: dev Anything related to Vector's development environment meta: good first issue Anything that is good for new contributors.

Comments

@pront
Copy link
Member

pront commented Nov 21, 2024

Currently these work with Toml::Values however YAML is now the first class format in Vector.

See https://github.com/vectordotdev/vector/blob/v0.42.0/src/test_util/mod.rs#L95-L103

We can also support JSON values.

@pront pront added domain: config Anything related to configuring Vector meta: good first issue Anything that is good for new contributors. domain: dev Anything related to Vector's development environment labels Nov 21, 2024
@jszwedko
Copy link
Member

Related: #19963

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: config Anything related to configuring Vector domain: dev Anything related to Vector's development environment meta: good first issue Anything that is good for new contributors.
Projects
None yet
Development

No branches or pull requests

2 participants