Skip to content
pierrejochemPublic

About

Message broker in Rust: RabbitMQ-style queues and Kafka-style streams on one Raft-replicated log, with exactly-once delivery.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Lotse: queues and streams on one replicated log

CI Docs Latest release License: Apache-2.0 Rust: 1.85+ Unsafe: forbidden

Guide · Quick start · Status · Client SDKs · Design

Lotse is a message broker in Rust: reliable queues and persistent streams on one replicated log, with exactly-once delivery.

  • Queues and streams on one log: RabbitMQ-style queues (acks, redelivery, dead-letter queues, delayed delivery, priorities, exchanges and bindings) and Kafka-style streams (partitions, consumer groups, retention, log compaction) share one storage engine.
  • Replication with Raft: every partition is a Raft group, batched per node pair; nodes can be added to and drained from a running cluster.
  • Exactly-once: idempotent producers, transactions and consumer group offsets committed in the same transaction.
  • Secure by default: TLS 1.3 on every connection, SCRAM-SHA-512, OAUTHBEARER, client certificates and access tokens, tenants and roles.
  • Tested by simulation: deterministic simulation with crashing disks and a faulty network, 5,000 seeds per simulation before every release.
  • Clients and console: clients for Rust, Java (with a Kotlin layer), C# and Node.js, a web console, and lotse mcp for AI agents.

Status: preview, first release 0.1.0 (notes), latest 0.1.1 (notes). What exists, what is not built yet and the limits that were decided are in Status and known gaps.

Quick start

cargo build --release -p lotse-node                               # target/release/lotse
lotse check --config cluster.toml                                 # what the file describes
lotse certs --config cluster.toml                                 # a CA and a certificate per node
lotse certs --config cluster.toml --client alice --out ./alice    # the first admin's client certificate
lotse run --config cluster.toml --node 1                          # on each machine, its own id

The cluster file, certificates, adding and draining nodes, packages and images: Running a cluster. For a cluster on one machine, see a one-machine trial.

Documentation

  • Guide: setup, administration, client development and use.
  • Running a cluster: the cluster file, certificates, nodes, packages, images and systemd in short.
  • Status and known gaps: what exists, what is not built yet, and the limits by design.
  • Crates: what each crate of the workspace does.
  • Testing: the simulations, what they check and the bugs they catch.
  • Management console: screenshots, running it and frontend work.
  • Client SDKs: the protocol for implementers, golden test vectors and the Java (with a Kotlin layer), C# and Node.js clients.
  • Design document: architecture and storage design with the reasons behind each decision (German).
  • Architecture decisions: one record per decision, with its reasons.
  • Architecture overview: the whole system on one page.
  • Brand: the Fairway mark, logos, colours, type and design tokens.

Contributing

AGENTS.md holds the rules, commands and conventions for everyone who changes this repository, people and AI coding agents alike; agents/lotse-engineer.md describes the project's dedicated coding agent. Before opening a pull request, run:

cargo fmt --all
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace

Security

Report a vulnerability privately, not in a public issue: SECURITY.md says how.

License

Apache License 2.0; see LICENSE.

About

Message broker in Rust: RabbitMQ-style queues and Kafka-style streams on one Raft-replicated log, with exactly-once delivery.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages