LiteBus
CatalogStorage

Storage Axis Capability Catalog

The storage axis covers durable persistence for inbox and outbox flows. Technology-adapter packages own shared PostgreSQL and EF Core primitives, while feature bridges implement storage roles for each durable axis.

Axis Role

  • Technology adapters: shared storage infrastructure (LiteBus.Storage.PostgreSql, plus EF Core shared utilities outside this catalog).
  • Feature bridges: axis adapters (LiteBus.Inbox.Storage.*, LiteBus.Outbox.Storage.*).
  • Primary responsibility: accept and enqueue writes, processor leasing, state transitions, dead-letter replay, retention cleanup, diagnostics counts, and schema lifecycle for PostgreSQL adapters.

Store Role Taxonomy

RoleInbox interfaceOutbox interfaceMain behavior
AppendIInboxStoreIOutboxStoreInsert pending rows with idempotency handling
LeaseIInboxLeaseStoreIOutboxLeaseStoreClaim due rows for one processor pass
State writerIInboxStateWriterIOutboxStateWriterPersist completed, failed, or dead-letter outcomes
Dead letterIInboxDeadLetterStoreIOutboxDeadLetterStoreRequeue dead-letter rows
RetentionIInboxRetentionStoreIOutboxRetentionStoreDelete terminal rows older than a cutoff
DiagnosticsIInboxDiagnosticsStoreIOutboxDiagnosticsStoreStatus counts and schema info
Processing compositeIInboxProcessingStoreIOutboxProcessingStoreLease plus state writer
Operations compositeIInboxOperationsStoreIOutboxOperationsStoreDead letter, retention, diagnostics, query, purge
Transactional appendITransactionalInboxStoreITransactionalOutboxStoreAppend inside caller transaction boundary

Package Table

PackageDependency roleRole in storage axis
LiteBus.Storage.PostgreSqlTechnology adapterShared SQL utilities, schema lock/version helpers, work signal, ambient transaction provider contract
LiteBus.Inbox.Storage.PostgreSqlFeature bridgePostgreSQL inbox adapter, schema scripts, transactional inbox participant
LiteBus.Outbox.Storage.PostgreSqlFeature bridgePostgreSQL outbox adapter, schema scripts, transactional outbox participant

Capability Index

CapabilityFocus
storage.inbox.adapter.postgresqlFull PostgreSQL inbox adapter surface
storage.outbox.adapter.postgresqlFull PostgreSQL outbox adapter surface
storage.postgresql.shared-infraShared PostgreSQL technology primitives
storage.postgresql.schema-managementEnsure, validate, and drift checks
storage.postgresql.work-signalLISTEN/NOTIFY wake-up path
storage.composite.processing-storeComposite lease/state role contracts
storage.role.appendAppend semantics and idempotency
storage.role.leaseLease claim semantics and concurrency
storage.role.state-writerTerminal state persistence
storage.role.dead-letterManual replay path
storage.role.retentionRetention cutoff and deletes
storage.transactional.writesTransaction-scoped inbox/outbox writes

Test Projects

  • LiteBus.Storage.UnitTests
    • role contracts, PostgreSQL utility tests, transactional participant behavior, and module dependency validation.
  • LiteBus.Storage.IntegrationTests
    • PostgreSql/ suite for inbox/outbox store contracts, schema scripts, schema drift, work signal, end-to-end processor behavior, and transactional write integration.

These adapters are documented in main docs and are intentionally out of this PostgreSQL-only catalog scope:

On this page