eventstore v0.2.0 EventStore.Storage
Storage of events to a PostgreSQL database
Uses a pool of connections to the database. This is for increased concurrency and performance, but with an upper limit on concurrent access.
Summary
Functions
Acknowledge receipt of an event by id, for a single subscription
Append the given list of events to the stream, expected version is used for optimistic concurrency
Initialise the PostgreSQL database by creating the tables and indexes
Get the id of the last event persisted to storage
Read events for all streams forward from the starting event id, use zero for all events for all streams
Read events for the given stream forward from the starting version, use zero for all events for the stream
Reset the PostgreSQL database by deleting all rows
Create, or locate an existing, persistent subscription to a stream using a unique name
Get all known subscriptions, to any stream
Unsubscribe from an existing named subscription to a stream
Functions
Acknowledge receipt of an event by id, for a single subscription
Append the given list of events to the stream, expected version is used for optimistic concurrency
Read events for all streams forward from the starting event id, use zero for all events for all streams
Read events for the given stream forward from the starting version, use zero for all events for the stream
Create, or locate an existing, persistent subscription to a stream using a unique name