eventstore v0.4.3 API Reference

Modules

EventStore client API to read & write events to a logical event stream and subscribe to event notifications

EventData contains the data for a single event before being persisted to storage

RecordedEvent contains the persisted data and metadata for a single event

Specification of a serializer to convert between an Elixir term and binary data

Record and read snapshots of process state

PostgreSQL statements to intialize the event store schema and read/write streams and events

Storage of events to a PostgreSQL database

Append-only storage of events to a stream

Reads events for a given stream identity

Map event data from the database to RecordedEvent struct

Record serialized snapshot data

Streams are an abstraction around a stream of events for a given stream identity

Support persistent subscriptions to an event stream

Streams provides access to a stream process by its stream uuid

A logical stream containing events appended to all streams

An event stream

Supervise zero, one or more event streams

Subscriptions holds state for subscribers interested in events appended to either a single stream or all streams

Subscription to a single, or all, event streams

Supervise zero, one or more subscriptions to an event stream

A serializer that uses Erlang's external term format (http://erlang.org/doc/apps/erts/erl_ext_dist.html)

Single process writer to assign a monotonically increasing id and persist events to the store

Create the database for the EventStore

Drop the database for the EventStore