legend-saga

Crates.iolegend-saga
lib.rslegend-saga
version
sourcesrc
created_at2024-11-26 18:03:02.945707
updated_at2024-12-12 20:10:28.76165
descriptionA Rust library for working with RabbitMQ and asynchronous operations
homepage
repositoryhttps://github.com/legendaryum-metaverse/rust-library
max_upload_size
id1462104
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Jorge Clavijo (jym272)

documentation

README

Legend saga

A Rust library that simplifies microservice communication via RabbitMQ, supporting event-driven patterns and reliable messaging.

crates.io Documentation dependency status
CI downloads


Features

Core Communication:

  • Publish/Subscribe Messaging: Exchange messages between microservices using a publish-subscribe pattern.
  • Headers-Based Routing: Leverage the power of RabbitMQ's headers exchange for flexible and dynamic routing of messages based on custom headers.
  • Durable Exchanges and Queues: Ensure message persistence and reliability with durable RabbitMQ components.

Saga Management:

legendaryum
  • Saga Orchestration: Coordinate complex, multi-step transactions across multiple microservices with saga orchestration.
  • Saga Step Handlers: Implement step-by-step saga logic in your microservices using callbacks.
  • Compensation Logic: Define compensating actions for saga steps to handle failures gracefully and maintain data consistency.

Flags

std y eventsfeatures flags:

  • std is the main app,
  • events = ["serde", "strum", "strum_macros"] are used to handle types, payloads, enum, struct of the app.

Contributors

Thanks to all contributors!

Author

Jorge Clavijo https://github.com/jym272

License

Distributed under the MIT License. See LICENSE for more information.

Commit count: 65

cargo fmt