API Reference sourced_postgres v#0.3.0

Copy Markdown View Source

Modules

A PostgreSQL implementation of Sourced.EventStore backed by your application's Ecto repo.

Where a Sourced.EventStore.Postgres.Subscriber has got to: one row per subscriber name in sourced_checkpoints, holding the last sequence the subscriber committed and a fingerprint of the query it committed it over.

Ecto schema for the sourced events table, and every query the adapter runs against it.

Migrations creating and upgrading the tables, triggers and functions the event store reads and writes.

A subscriber that persists the last sequence that it processed.

A dynamically started GenServer for listening to appended events and dispatching to the caller.

Ecto schema for the side table queries match tags against, and the queries run against it.