Skip to content

Support all features on all targets when releasing #661

@binarylogic

Description

@binarylogic

Currently, Vector releases "limited" versions on select targets, such as x86_64-unknown-linux-musl. This is due to the fact that we have been unable to compile and statically links the leveldb and rdkafka libraries. Vector uses leveldb for on-disk buffering and rdkafka for the kafka sink.

As a short term solution we've hidden these features behind cargo feature flags, enabling the ability to build Vector without these features, which in return allow Vector to compile successfully:

cargo build --no-default-features

This, obviously, is not ideal and is something we should resolve. A few ideas:

  1. Work on compiling and linking these libraries in the problematic targets.
  2. Move off of these libraries and replace them with Rust native libraries that do not require external dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    domain: buffersAnything related to Vector's memory/disk buffersneeds: outside helpNeeds help outside of the Vector core teamsink: kafkaAnything `kafka` sink relatedtype: tech debtA code change that does not add user value.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions