Expand description
Transactional projection delivery support for PostgreSQL.
Structs§
- Delivery
Identity Error - Error returned when a delivery identity contains no non-whitespace text.
- Delivery
Position - A positive, source-scoped position in the global delivery sequence.
- Delivery
Source Id - Stable identity for the event source that owns a delivery sequence.
- Event
Type Name - Persisted discriminator for an event type selected for projection.
- Noop
After Commit - An after-commit action that has no work to perform.
- Persisted
Event Envelope - Opaque persisted event data delivered by a
ProjectionSource. - Persisted
Event Id - Stable persisted event identity, distinct from the delivery position.
- Postgres
- PostgreSQL database driver.
- Postgres
Projection Config - Settings for a transactional PostgreSQL projection run.
- Postgres
Projection Source - PostgreSQL implementation of the strict, lossless projection delivery source.
- Postgres
Projection Store - PostgreSQL destination containing a transactional projection’s read model and progress.
- Projection
Failure Context - Public failure information passed to
PostgresProjector::on_error. - Projection
Progress - Durable progress committed beside a projection’s read-model effects.
- Projection
Retry Policy - Controls retry behavior after an application requests a retry.
- Projection
Selection - Stable selection contract used to read persisted events for a projection.
- Projection
Selection Id - Stable application-supplied identity for a projection selection contract.
- Projector
Name - Stable application-supplied identity for a transactional projector.
- Tokio
Projection Poll Sleeper - Default continuous polling sleeper backed by
tokio::time::sleep. - Tokio
Projection Retry Sleeper - Default retry sleeper backed by
tokio::time::sleep. - Transaction
- An in-progress database transaction or savepoint.
Enums§
- Delivery
Upper Bound - Optional inclusive upper bound for a delivery page.
- Postgres
Projection Mode - Selects whether a runner stops at its initial catch-up frontier or keeps polling.
- Postgres
Projection Source Error - Errors returned by
PostgresProjectionSource. - Projection
Configuration Error - Configuration rejected before a runner is started.
- Projection
Failure Decision - Decision made by an application after its event effect failed.
- Projection
Reset AndReplay Error - Failures from the reset-and-replay convenience operation.
- Projection
Reset Error - Failures from a coordinated basic reset.
- Projection
RunOutcome - Observable result of a transactional projection run.
- Projection
Selection Error - Error returned when a projection selection is structurally invalid.
- Projection
Stream Filter - Stream selector applied to a projection source read.
- Transactional
Projection Error - Terminal failures from a transactional projection run.
Traits§
- After
Commit - Work that is safe to perform only after the read-model transaction commits.
- Postgres
Projection Reset - Application-owned read-model reinitialization performed in the leader transaction.
- Postgres
Projector - Applies decoded events through the transaction owned by the PostgreSQL runner.
- Projection
Poll Sleeper - Asynchronous delay used while a continuous projection is caught up.
- Projection
Retry Sleeper - Asynchronous delay used between transactional projection retry attempts.
- Projection
Source - Backend-independent source of lossless, globally ordered persisted events.
Functions§
- reset_
and_ replay_ transactional_ projection - Reinitializes a projection and replays it while retaining named leadership.
- reset_
transactional_ projection - Reinitializes a projection and deletes matching progress under named leadership.
- run_
transactional_ projection - Starts a PostgreSQL transactional projection.
Type Aliases§
- Boxed
Projection Error - Type-erased failure source retained by the stable runner error boundary.