statefun

Crates.iostatefun
lib.rsstatefun
version0.2.0-alpha.2
sourcesrc
created_at2020-07-05 12:07:15.489576
updated_at2023-07-04 13:09:22.60014
descriptionA Rust SDK for the Apache Flink Stateful Functions (StateFun) project. See: https://flink.apache.org/stateful-functions.html
homepagehttps://github.com/aljoscha/statefun-rust
repositoryhttps://github.com/aljoscha/statefun-rust.git
max_upload_size
id261576
size76,036
drey (AndrejMitrovic)

documentation

https://docs.rs/statefun/

README

Statefun Rust SDK

An SDK for writing stateful functions in Rust. See the Apache Flink Stateful Functions website for more information about the project.

Supported StateFun API version

This library currently targets Statefun v3.2.0.

Changes since v3.x of Apache Statefun

Please note that Apache Statefun v3.x has API breaking changes. This version of the Rust SDK only supports v3.x of the Apache Statefun protocol.

Please note that the new version of this Rust SDK requires user code to implement the new Serializable and TypeName traits. Refer to the example code on how to do this yourself.

Validation & Support

Please note this project is maintained by volunteers and is not officially supported by the Apache Flink Statefun project.

Furthermore some features & client-side validation may be missing (e.g. validation on the length / charset of a function's type name).

How to use

There are a few examples provided in the ./examples directory. Please refer to each example's readme file fore more info.

Please also refer to the documentation to learn more on how to set up & use the Statefun cluster.

Building

You need to have the Protobuf compiler protoc available in your $PATH. On macOS you can install this via

brew install protobuf
Commit count: 243

cargo fmt