Replies: 1 comment 3 replies
-
Hi @suikammd ! Thanks for raising this up. I agree that it would make sense to feature flag the AWS bits of the Elasticsearch sink. We have a few other components that also include AWS bits that aren't always needed so I think having a general flag, like |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, the sinks-elasticsearch feature in Vector enables AWS support by default, which may not be necessary for all users. This leads to an increase in compiled code size for users who only require the normal Elasticsearch functionality. To address this, I propose splitting the sinks-elasticsearch feature into two separate features: sinks-elasticsearch and sinks-elasticsearch-aws.
Or we can make sinks-elasticsearch feature disable aws on default and enable aws when aws-core feature enabled?
Another idea is add sinks-elasticsearch-common feature for normal Elasticsearch, this won't introduce breakchange. Like the following:
sinks-elasticsearch-common = ["transforms-metric_to_log"] sinks-elasticsearch = ["sinks-elasticsearch-common", "aws-core"]
I can help make it if you wish to make a change :)
Beta Was this translation helpful? Give feedback.
All reactions