cqrs-es2-store
Sync implementation of the cqrs-es2 store.
Provides sync interfaces to different database implementations for the CQRS system store.
Design
The main components of this library are:
IEventDispatcher
- an interface for sync events listenersIEventStore
- an interface for sync event storesIQueryStore
- an interface for sync query stores
Features
with-postgres
- sync Postgres storewith-mysql
- sync MySQL storewith-sqlite
- sync SQLite storewith-all-sql
- all SQL driverswith-mongodb
- sync MongoDB storewith-all-doc-db
- all doc DBs driverswith-redis
- sync Redis storewith-all-kv-db
- all key-value DBs driverswith-all-sync
- all sync drivers (default)
Installation
To use this library in a sync application, add the following to
your dependency section in the project's Cargo.toml
:
[]
# logging
= { = "^0.4", = [
"max_level_debug",
"release_max_level_warn",
] }
= "^0.5"
# serialization
= { = "^1.0.127", = ["derive"] }
= "^1.0.66"
= "^0.1"
# CQRS framework
= { = "*"}
# Sync postgres store implementation
= { = "*", = false, = [
"with-postgres",
] }
# postgres driver
= { = "^0.19.1", = ["with-serde_json-1"] }
Usage
Full sync store example applications are available here.
Change Log
A complete history of the change log can be found here
TODO
An up-to-date list of development aspirations can be found here