Vector lite
#9010
Replies: 1 comment 5 replies
-
Hi @bmallya ! We actually do enable custom, slimmer, builds through having a Cargo feature flags for each component. For example, if you only needed the components you mentioned, you could do:
If you only need a few select transforms, you can also replace Hopefully this helps! |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I was wondering if anyone has attempted to build a lite version for vector given that only a few of sources/sinks/transforms will be used.
For example, Given a case where the sources needed could be http, socket, files
while sinks are vector , file along with the transforms, how do we
I have tried to remove the sources/sinks/transforms that are not required along with any dependencies that are mentioned in Cargo.toml file. This I then verified by compiling vector and then generating dummy data and forwarding from one instance to another instance.
Ex: I removed the following source and also rusto, rusto_s3 from Cargo.toml
sources-aws_s3 = ["rusoto", "rusoto_s3", "rusoto_sqs", "semver", "uuid"]
But I do not know if there are any other indirect dependencies.
Attached is a cargo.toml file that I had used (with some sources/sinks/transforms and dependencies
vectorCargo.txt
commented). With this file, I was able to get vector of size 77 MB from the default ~145 MB for v0.15.1
Beta Was this translation helpful? Give feedback.
All reactions