Replies: 2 comments 4 replies
|
Trying out some idea's (not compiled, just in the GH editor) by gathering code from the examples: use aws_sdk_dynamodb::Client;
use dynamo_es::DynamoViewRepository;
fn configure_view_repo(client: Client) -> DynamoViewRepository<MyView,MyAggregate> {
DynamoViewRepository::new("my_view_table", client)
}
let config = aws_config::load_from_env().await;
let client = Client::new(&config);
let repo = Arc::new(configure_view_repo(client));
let query = GenericQuery::<MyViewRepository, MyView, MyAggregate>::new(repo);
... ?I have been looking at https://github.com/serverlesstechnology/cqrs-demo/tree/master/src but it's not clear to me when |
2 replies
|
Perhaps I should rephrase my question to generalize it a bit more:
That stand-alone lambda could then either be triggered from DynamoDB Streams, or Kinesis, or SNS triggering SQS triggering the lambda, ... |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The cqrs-demo repo has a postgress example. I was wondering if it was possible to add a dynamodb example too?
I currently am able to store commands in an event store in dynamodb, and was looking into using dynamodb lambda triggers to process new events for projections.
Should I create a View and then manually call
updatewith a manual createdEventEnvelope?All reactions