Skip to main content

rakka_persistence_aws/
lib.rs

1//! rakka-persistence-aws. akka.net: `Akka.Persistence.DynamoDB`.
2//!
3//! Single-table design:
4//! - partition key `pid` (S) = persistence id
5//! - sort key `sk` (S) = prefixed sequence number, zero-padded so
6//!   lexicographic ordering matches numeric ordering.
7//!
8//! Events use the `E#` prefix, snapshots use `S#`.
9
10mod config;
11mod journal;
12mod keys;
13mod schema;
14mod snapshot;
15
16pub use config::DynamoConfig;
17pub use journal::DynamoJournal;
18pub use keys::{event_sk, snapshot_sk, EVENT_PREFIX, SNAPSHOT_PREFIX};
19pub use schema::ensure_table;
20pub use snapshot::DynamoSnapshotStore;