Expand description
Cron watermarks: where each cron wake source left off, so the ticks it missed while no kernel watched replay once, per the schedule’s catch-up policy (spec 3.2 §7.4, §7.13).
| Item | What it is |
|---|---|
CronWatermarkStore | The cursor of each cron source by name, which only moves forward |
SourceWatermark | One source’s cursor as an adk_agent::ambient::TickWatermark |
The store runs on in-memory, SQLite, PostgreSQL and Redis (InMemoryCronWatermarkStore,
SqliteCronWatermarkStore, PostgresCronWatermarkStore, RedisCronWatermarkStore), and
on MongoDB, Firestore and Neo4j (MongoCronWatermarkStore,
FirestoreCronWatermarkStore, Neo4jCronWatermarkStore), with the conformance suite
cron_watermark_store_conformance_tests! (feature conformance).
A tenant kernel (managed::TenantKernel, feature managed) keeps its watermarks in the
tenant’s own store, so a tick missed while no replica of the tenant ran is seen by the next
replica that starts.
Structs§
- Source
Watermark - The cursor of one cron source in a
CronWatermarkStore, as theadk_agent::ambient::TickWatermarkaCronWakeSourceor aCronTriggerkeeps (spec 3.2 §7.4).
Traits§
- Cron
Watermark Store - Where each cron wake source left off (spec 3.2 §7.4, §7.13): the instant through which its ticks are accounted for, by source name.