Skip to content

Optional dispatch table #86

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ example with dynamodb:
SnapshotReadCapacityUnits: 1, // optional
SnapshotWriteCapacityUnits: 3, // optional
UndispatchedEventsReadCapacityUnits: 1, // optional
UndispatchedEventsReadCapacityUnits: 1, // optional
useUndispatchedEventsTable: true // optional
});

DynamoDB credentials are obtained by eventstore either from environment vars or credentials file. For setup see [AWS Javascript SDK](http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/node-configuring.html).
Expand All @@ -130,6 +132,8 @@ Or on Windows:

> set AWS_DYNAMODB_ENDPOINT=http://localhost:8000

The **useUndispatchedEventsTable** option to available for those who prefer to use DyanmoDB.Streams to pull events from the store instead of the UndispatchedEvents table. The default is true. Setting this option to false will result in the UndispatchedEvents table not being created at all, the getUndispatchedEvents method will always return an empty array, and the setEventToDispatched will effectively do nothing.

## Built-in event publisher (optional)

if defined the eventstore will try to publish AND set event do dispatched on its own...
Expand Down
Loading