Expand description
PostgreSQL SchedulerStore for Chronon.
Audience: backend engineers deploying shared durable storage for production coordinator–worker clusters.
§Stack position
chronon (facade, `postgres` feature) → chronon-backend-postgres → chronon-backend-sql-common → chronon-core§Entry points
PostgresSchedulerStore::connect— open a pool and bootstrap schemaPostgresSchedulerStore::connect_isolated— isolated schema for parallel testspostgres_test_url— resolve test URL fromCHRONON_POSTGRES_URL/CHRONON_TEST_POSTGRES_URL
§Example
use chronon_backend_postgres::PostgresSchedulerStore;
let store = PostgresSchedulerStore::connect(
"postgres://user:pass@localhost/chronon",
)
.await?;Structs§
- Postgres
Scheduler Store - PostgreSQL-backed scheduler store.
Functions§
- postgres_
store_ from_ env - Connect using
CHRONON_POSTGRES_SCHEMAwhen set (isolated schema for multi-process E2E). - postgres_
test_ url - Resolve a PostgreSQL URL for tests.