Quick Start

This section covers the steps of getting started with Arcon.

Setting up Rust

The easiest way to install Rust is to use the rustup tool.

Cargo

Add Arcon as a dependency in your Cargo.toml. Note that we also include prost as it is required when declaring more complex Arcon data types.

[dependencies]
arcon = "0.2"
prost = "0.9"

Defining an Arcon application

#[arcon::app]
fn main() {
    (0..10u64)
        .to_stream(|conf| conf.set_arcon_time(ArconTime::Process))
        .filter(|x| *x > 50)
        .map(|x| x * 10)
        .print()
}