atomr-persistence-mongodb 0.1.0

MongoDB journal and snapshot store for atomr — indexed collections, atomic multi-document inserts, BSON payloads.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! atomr-persistence-mongodb. akka.net: `Akka.Persistence.MongoDB`.
//!
//! Stores events in a MongoDB collection keyed by `(persistence_id,
//! sequence_nr)` with a unique compound index. Snapshots live in a
//! sibling collection with the same compound key.

mod config;
mod documents;
mod journal;
mod snapshot;

pub use config::MongoConfig;
pub use documents::{EventDoc, SnapshotDoc};
pub use journal::MongoJournal;
pub use snapshot::MongoSnapshotStore;