Cargo Features

Arcon has no features set by default.

[dependencies]
arcon = { version = "0.2.1", features = ["rocksdb", "kafka", "socket", "hardware_counters", "prometheus_exporter", "allocator_metrics", "state_metrics", "hocon"] }
rocksdb

Enables rocks of arcon_state

kafka = futures, rdkafka, serde_json

Affects source::kafka, source::kafka

socket = futures, serde, serde_json, tokio, tokio-util

Affects sink::socket, util::io

hardware_counters = metrics, perf-event

Affects conf::OperatorConf.perf_events, metrics::perf_event

prometheus_exporter = metrics, metrics-exporter-prometheus
allocator_metrics

Enables metrics of arcon_allocator

state_metrics

Enables metrics of arcon_state

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rdkafka kafka?

Enables rdkafka ^0.26

Optional

tokio socket?

Enables tokio

TODO: figure out which are truly needed

tokio-util socket?

Enables tokio-util ^0.6

futures kafka? socket?
serde_json kafka? socket?

Affects schema::JsonSchema

serde socket?

Affects schema::JsonSchema

hocon implicit feature

Enables hocon ^0.3

hocon:

Reads HOCON configuration files

metrics hardware_counters? prometheus_exporter?

Enables metrics ^0.16.0

Affects util::get_system_time_nano

metrics-exporter-prometheus prometheus_exporter?

Enables metrics-exporter-prometheus ^0.5.0

perf-event linux hardware_counters?