Crates.io | cerk_router_broadcast |
lib.rs | cerk_router_broadcast |
version | 0.2.8 |
source | src |
created_at | 2020-11-23 16:28:06.599161 |
updated_at | 2021-01-05 19:32:33.583736 |
description | This is a package for CERK. CERK is an open source CloudEvents Router written in Rust with a MicroKernel architecture. |
homepage | https://github.com/ce-rust/cerk |
repository | https://github.com/ce-rust/cerk |
max_upload_size | |
id | 315450 |
size | 8,510 |
This is a package for CERK. CERK is an open source CloudEvents Router written in Rust with a MicroKernel architecture.
CERK lets you route your CloudEvents between different different ports. Ports are transport layer bindings over which CloudEvents can be exchanged. It is built with modularity and portability in mind.
CERK comes with a couple of prefabricated components, but implementing custom components is easy.
A good overview is provided on GitHub.
This router broadcasts all received CloudEvents to the configured ports.
The Socket expects a Config::Vec([Config::String])
as configuration.
The strings should be Port ids, to which all received CloudEvents should be forwarded to.
e.g.
use cerk::kernel::Config;
let config = Config::Vec(vec![Config::String(String::from("output-port"))]);
The original readme text is a Rust doc comment in the lib.rs file
cargo install cargo-readme
cargo readme > README.md
Apache-2.0