Skip to main content
Version: 0.7.x

Install

Prerequisites​

  • Rust ≥ 1.97 (toolchain, for building from source)

No protobuf compiler is needed: Protobuf codec .proto files are compiled at runtime by the bundled pure-Rust protox compiler, and the build does not shell out to protoc (there is no build.rs).

Build from source​

git clone https://github.com/arkflow-rs/arkflow.git
cd arkflow

# Optimized release build
cargo build --release

# (optional) run the test suite
cargo test

The binary is at ./target/release/arkflow.

Build profiles (feature gating)​

Connector families are gated behind cargo features. A default build enables every family; a minimal build compiles only the core engine plus the light component set — useful for custom images and edge deployments.

FeatureComponents
connectors-sqlsql input/output (DuckDB, Ballista, MySQL/PostgreSQL/SQLite table providers)
connectors-kafkakafka input/output
connectors-pythonpython processor
connectors-mongodbmongodb output
connectors-pulsarpulsar input/output
connectors-hdfshdfs object store of the file input
connectors-mqttmqtt input/output
connectors-natsnats input/output
connectors-amqp09amqp09 (RabbitMQ) input/output
connectors-icebergiceberg (Apache Iceberg) output
connectors-redisredis input/output/temporary
connectors-websocketwebsocket input
connectors-modbusmodbus input
ai-vectorembedding / llm / vector_search / milvus_search / pgvector_search processors, qdrant / milvus / pgvector outputs
processors-vrlvrl processor
codecs-protobufprotobuf / schema_registry codecs, arrow_to_protobuf / protobuf_to_arrow processors
# Default build: every family enabled (identical behavior to a build
# without the feature layer)
cargo build --release

# Minimal build: core engine + light components only.
# Cargo features are additive, so engine-minimal removes anything only
# together with --no-default-features.
cargo build --release --no-default-features --features engine-minimal

# Minimal build plus one family
cargo build --release --no-default-features --features engine-minimal,connectors-kafka

Always compiled regardless of features: file / generate / http / memory / multiple_inputs inputs, drop / http / influxdb / stdout outputs, lookup / batch / arrow_to_json / json_to_arrow / sql processors, every buffer kind, and the json / debezium_json codecs. In a build without a family, a config referencing its types fails validation and names the missing feature, e.g. Unknown input type: kafka (requires the 'connectors-kafka' feature).

Run​

# Run with a config file
./target/release/arkflow --config config.yaml

# Validate a config without starting the engine
./target/release/arkflow --config config.yaml --validate

Component discovery & schema​

ArkFlow exposes CLI commands that list every registered component and print its configuration schema. These power editor auto-completion and are handy when writing a config.

# List every input / output / processor / buffer / codec
./target/release/arkflow components list
./target/release/arkflow components list --kind input

# Print the config schema for one component (text or JSON)
./target/release/arkflow components show input kafka
./target/release/arkflow components show processor sql --format json

# Emit a complete JSON Schema for the whole engine config
./target/release/arkflow schema > arkflow.schema.json

Point your editor's YAML language server at the generated schema for field-level completion and validation.

Continue to Quickstart.