Skip to content

Latest commit

 

History

History
112 lines (85 loc) · 5.94 KB

File metadata and controls

112 lines (85 loc) · 5.94 KB

Hexeract Documentation

Hexeract is a six-dimension Rust messaging framework: Mediator, Bus, Outbox, Sagas, Scheduler, Request/Reply (Sagas is on the roadmap; Request/Reply is implemented and pending release). This index points at the documentation for the current codebase (v0.6.0).

Start here

If you want to Read
Dispatch commands, queries and notifications in process Mediator quick start
Persist outgoing events transactionally with PostgreSQL, MySQL or SQLite Outbox quick start
Publish and consume messages on RabbitMQ Bus quick start
Schedule delayed or recurring messages Scheduler quick start
Migrate an existing project from v0.6.0 to v0.7.0 Migration v0.6 to v0.7
Migrate an existing project from v0.5.0 to v0.6.0 Migration v0.5 to v0.6
Migrate an existing project from v0.4.0 to v0.5.0 Migration v0.4 to v0.5
Migrate an existing project from v0.3.0 to v0.4.0 Migration v0.3 to v0.4
Migrate an existing project from v0.1.0 to v0.2.0 Migration v0.1 to v0.2
Operate Hexeract services in production Production checklist

Migrating from another framework

If you come from the .NET ecosystem, these guides map your existing concepts onto Hexeract:

Architecture

Visual overview of the building blocks and the flows they implement.

  • Workspace overview (crate dependency graph and roles)
  • Mediator flow (registry, dispatch sequence, fan-out fail-safe)
  • Outbox flow (business transaction → envelope → worker → handler)
  • Bus flow (publish → AMQP → consume → ack)
  • Scheduler flow (schedule -> store -> worker -> sink, reschedule or dead-letter)
  • RPC protocol (wire version 1: addressing, reserved headers, error categories, version rules)

Concepts

One file per cross-cutting concept the API exposes.

Cookbook

Recipes for the most common wirings.

Reference

Stable artefacts that operators reach for.

Operations

How to run Hexeract services after the SDK leaves your hands.

Design notes

Records of the structuring decisions taken along the way.

Project policies

Stable contracts that contributors and operators rely on.