Skip to main content

rakka_persistence_cassandra/
lib.rs

1//! rakka-persistence-cassandra. akka.net: `Akka.Persistence.Cassandra`.
2//!
3//! Events are stored in a wide-row table partitioned by
4//! `(persistence_id, partition_nr)` so large persistence ids stay within
5//! Cassandra partition size limits. Snapshots live in a sibling table
6//! keyed by `persistence_id + sequence_nr`.
7
8mod config;
9mod journal;
10mod schema;
11mod snapshot;
12
13pub use config::{CassandraConfig, DEFAULT_PARTITION_SIZE};
14pub use journal::CassandraJournal;
15pub use schema::ensure_schema;
16pub use snapshot::CassandraSnapshotStore;