Rust library for Apache Mesos. It is based on the upcoming Scheduler and Executor (not yet implemented in this library) HTTP API in Mesos, see:
- https://github.com/apache/mesos/blob/master/docs/executor-http-api.md
- https://github.com/apache/mesos/blob/master/docs/scheduler-http-api.md
####Warning: This library is in a very early stage, it is not recomended for production and all APIs are subject to change.
Rust Mesos depends on the MesosMasterInfo in Zookeeper to be published in JSON format and thus Mesos master or the upcoming 0.24 (see this commit).
This project is always built using cargo against the latest stable, beta, and nightly.
$ cargo build
The protobuf code was generated using rust-protobuf.
Your mesos master and slave must be running and register themselves to zk://127.0.0.1:2181/mesos
.
Then you can execute the example framework with
$ cargo run --example framework_example
or if you prefer verbose logging inside the mesos crate with
$ RUST_LOG="mesos=debug" cargo run --example framework_example