Crates.io | eventure |
lib.rs | eventure |
version | 0.0.17 |
source | src |
created_at | 2024-05-01 18:41:36.131141 |
updated_at | 2024-05-10 20:56:38.453983 |
description | Event-Driven messaging library for Rust |
homepage | |
repository | https://github.com/rust-lang-libs/eventure |
max_upload_size | |
id | 1226695 |
size | 47,202 |
It's an early alpha version, not ready for production yet.
The main goal of the project is to create a library with one model abstraction and different implementations for a variety of message brokers, like Kafka, RabbitMQ, Iggy, custom In-memory, etc... Ideally, the library should be able to handle all possible event-driven oriented scenarios, both for modular monolith and distributed applications (microservices, typically).
cargo build
cargo test
cargo run --example getting-started
Run examples:
cargo run --example in-memory
cargo run --example in-memory-multi-threaded
Install docker and docker-compose on local machine, start kafka containers:
cd tools\kafka
docker-compose up -d
Create topic 'orders':
kafka-topics --bootstrap-servers localhost:9092 --create --topic orders
Run examples:
cargo run --example kafka
cargo run --example kafka-many-handlers