Crates.io | tempest-source-mock |
lib.rs | tempest-source-mock |
version | 0.1.1 |
source | src |
created_at | 2019-08-28 23:36:27.094212 |
updated_at | 2019-09-07 22:29:28.07072 |
description | Tempest source implementation of a Mock Queue |
homepage | |
repository | https://github.com/grippy/tempest.git |
max_upload_size | |
id | 160536 |
size | 7,745 |
This source implements a basic queue for mocking message polling. Most tempest
topology tests use this Source
Cargo.toml
[dependencies]
tempest-source-mock = "0.1.0"
use tempest_source_mock::prelude::*;
// create a type alias to the MockSourceBuilder
type Source = MockSourceBuilder;
// configure a topology with this source
struct MyTopology {}
impl Topology<Source> for MyTopology {
// implementation code here
}