A DynamoDB implementation of the
PersistedEventRepository
trait in cqrs-es.
Requires access to DynamoDb with existing tables. This can be created locally using the included
docker-compose.yml
file with CLI configuration of test tables included in the Makefile
.
To prepare a local test environment (requires a local installation of
Docker and
AWS CLI):
- docker-compose up -d
- make configure
Note that this crate used the AWS DynamoDb Rust SDK, which is currently in Developer Preview. This means that any bugs will be addressed but the underlying interfaces may still be changed resulting in significant changes within this crate. See the AWS SDK public roadmap for more information.
It is recommended that tables are configured to allow only transactions. See: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/transaction-apis-iam.html
Things that could be helpful: - User guide along with an introduction to CQRS and event sourcing. - Demo application using the warp http server. - Change log