Skip to main content

Crate chronon_backend_postgres

Crate chronon_backend_postgres 

Source
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

§Example

use chronon_backend_postgres::PostgresSchedulerStore;

let store = PostgresSchedulerStore::connect(
    "postgres://user:pass@localhost/chronon",
)
.await?;

Structs§

PostgresSchedulerStore
PostgreSQL-backed scheduler store.

Functions§

postgres_store_from_env
Connect using CHRONON_POSTGRES_SCHEMA when set (isolated schema for multi-process E2E).
postgres_test_url
Resolve a PostgreSQL URL for tests.