stem_postgres library

Classes

PostgresBroker
PostgreSQL-backed implementation of Broker.
PostgresLockStore
PostgreSQL-backed implementation of LockStore.
PostgresResultBackend
PostgreSQL-backed implementation of ResultBackend.
PostgresRevokeStore
PostgreSQL-backed implementation of RevokeStore.
PostgresScheduleStore
PostgreSQL-backed implementation of ScheduleStore using ormed ORM.
PostgresWorkflowStore
PostgreSQL-backed WorkflowStore implementation using ormed ORM.
StemPostgresAdapter
Adapter that resolves PostgreSQL-backed factories from a postgres:// URL.

Functions

postgresBrokerFactory(String uri, {String namespace = 'stem', String? applicationName, TlsConfig? tls}) → StemBrokerFactory
Creates a StemBrokerFactory backed by PostgreSQL.
postgresLockStoreFactory(String uri, {String namespace = 'stem', String schema = 'public', String? applicationName, TlsConfig? tls}) → LockStoreFactory
Creates a LockStoreFactory backed by PostgreSQL.
postgresResultBackendFactory({String? connectionString, String namespace = 'stem', Duration defaultTtl = const Duration(days: 1), Duration groupDefaultTtl = const Duration(days: 1), Duration heartbeatTtl = const Duration(minutes: 1)}) → StemBackendFactory
Creates a StemBackendFactory backed by PostgreSQL.
postgresRevokeStoreFactory(String uri, {String namespace = 'stem', String schema = 'public', String? applicationName, TlsConfig? tls}) → RevokeStoreFactory
Creates a RevokeStoreFactory backed by PostgreSQL.
postgresScheduleStoreFactory(String uri, {String namespace = 'stem', String schema = 'public', String? applicationName, TlsConfig? tls}) → ScheduleStoreFactory
Creates a ScheduleStoreFactory backed by PostgreSQL.
postgresWorkflowStoreFactory(String uri, {String schema = 'public', String namespace = 'stem', String? applicationName, TlsConfig? tls}) → WorkflowStoreFactory
Creates a WorkflowStoreFactory backed by PostgreSQL.