Crates.io | statefun |
lib.rs | statefun |
version | 0.2.0-alpha.2 |
source | src |
created_at | 2020-07-05 12:07:15.489576 |
updated_at | 2023-07-04 13:09:22.60014 |
description | A Rust SDK for the Apache Flink Stateful Functions (StateFun) project. See: https://flink.apache.org/stateful-functions.html |
homepage | https://github.com/aljoscha/statefun-rust |
repository | https://github.com/aljoscha/statefun-rust.git |
max_upload_size | |
id | 261576 |
size | 76,036 |
An SDK for writing stateful functions in Rust. See the Apache Flink Stateful Functions website for more information about the project.
This library currently targets Statefun v3.2.0.
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.
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).
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.
You need to have the Protobuf compiler protoc
available in your $PATH
. On
macOS you can install this via
brew install protobuf