SFX

Karzoun Ledgerstream

Apache-2.0

What it is

Java 21 event-sourced double-entry ledger engine with PostgreSQL durability, idempotent posting, optimistic concurrency, transactional outbox, and deterministic replay.

LedgerStream is a Java 21 event-sourced double-entry ledger engine focused on accounting invariants, durable PostgreSQL history, idempotent posting, optimistic concurrency, deterministic reconstruction, and transactional outbox delivery. The core separates decision logic from persistence: state is reconstructed from immutable history, commands are validated against accounting and idempotency rules, then accepted events, postings and outbox records cross one database transaction boundary.

Engineering characteristics

  • Automated tests
  • Continuous integration
  • Documentation set
  • Open licence
  • Persistent storage
  • Release pipeline
  • Security policy

Testing

The repository contains an automated test suite that runs as part of its checked-in workflow.

Security

The repository publishes a security policy describing how to report vulnerabilities.

Deployment

The repository defines its own build and deployment automation.

Documentation

The repository ships a dedicated documentation set beyond the README.

Topics

accountingaudit-trailbigdecimalcodeqlcyclonedxdouble-entryevent-sourcingflywayidempotencyjavajava21ledgermavenmulti-currencyopen-sourceoptimistic-concurrencyoutbox-patternpostgresqltestcontainerstransactional-outbox

← All projects