Scheduler System
Internal Quartz-based platform system that persists schedules, coordinates recurring jobs, and dispatches background work without owning domain data.
System Purpose & Boundary
The Scheduler System coordinates recurring background job schedules and operational trigger inspection within the PlatformDomainv1.0.0PlatformProvides cross-cutting capabilities for recurring scheduled triggers and durable, idempotent transactional email notific...Ownerplatform-engineering-teamDiagramOpen docs domain. It serves Administrators monitoring and controlling job schedules while triggering downstream maintenance work in Product Catalog SystemSystemv1.0.0Product Catalog SystemInternal BookWorm system that owns catalog management, product discovery, and catalog search index ingestion within the ...Ownercatalog-experience-teamDiagramOpen docs and Notification SystemSystemv1.0.0Notification SystemInternal platform system that consumes order commands, renders email templates, and submits messages over SMTP. Ownerplatform-engineering-teamDiagramOpen docs. Owning domain business tables, executing search-index mutations directly, and storing credentials or business payloads in job metadata are explicitly out of scope.
A completed job firing in the Scheduler System confirms only that the trigger was dispatched—not that downstream business processing succeeded. Operators must verify target-side metrics (such as pending catalog vector updates) to confirm end-to-end completion.
Contained Capabilities
| Service / Agent | Role in System | Primary Data Store | Interaction Style (Sync / Async) |
|---|---|---|---|
| Scheduler ServiceServicev1.0.0Scheduler ServiceSingle-host Quartz.NET job execution engine and operational dashboard UI for scheduling recurring platform jobs and insp...PublishesProcessVectorBatchIntegrationEventAPIsAsyncAPIOwnerplatform-engineering-teamDiagramRepositoryOpen docs | Executes durable UTC cron schedules, persists execution history, publishes batch triggers via outbox, and exposes an admin operator dashboard | Scheduler DatabaseContainerv1.0.0Scheduler DatabaseAuthoritative PostgreSQL database owned by the Platform bounded context for Quartz.NET job definitions, cluster locks, e...Ownerplatform-engineering-teamDiagramOpen docs | Async (Kafka publisher) & Sync (Admin UI) |
External Interactions & Trust Boundaries
- Administrator access: Administrators authenticate via Identity ProviderSystemv1.0.0Identity ProviderExternal identity infrastructure that authenticates BookWorm users and
provides OAuth-compatible identity verification f...Ownerplatform-engineering-teamDiagramOpen docs OIDC (
adminrole) to inspect triggers, review execution history, and pause or resume schedules in the operator dashboard. - Catalog indexing trigger: Every five minutes UTC, Scheduler ServiceServicev1.0.0Scheduler ServiceSingle-host Quartz.NET job execution engine and operational dashboard UI for scheduling recurring platform jobs and insp...PublishesProcessVectorBatchIntegrationEventAPIsAsyncAPIOwnerplatform-engineering-teamDiagramRepositoryOpen docs publishes Process vector batchEventv1.0.0Process vector batchIntegration event published by Scheduler every five minutes to trigger Catalog Ingestion vector batch processing over Ka...Ownerplatform-engineering-teamSchemaDiagramOpen docs to Process Vector Batch ChannelChannelv1.0.0Process Vector Batch ChannelUnprefixed Kafka trigger topic owned by the platform team used by Scheduler Service every five minutes to initiate Catal...Ownerai-capabilities-teamOpen docs using a transactional outbox; Catalog IngestionServicev1.0.0Catalog IngestionInternal background worker that reads pending Catalog book updates and synchronizes semantic search vectors in Qdrant. SubscribesProcessVectorBatchIntegrationEventOwnercatalog-experience-teamDiagramRepositoryOpen docs consumes the trigger and processes pending updates under its own concurrency lock.
- No direct domain table access: The scheduler never reads or writes domain tables in Catalog or Notification; all coordination happens over explicit messaging or service contracts.
- Misfire & concurrency safety: Durable trigger state survives restarts, misfires follow explicit recovery policies rather than silent skips, and non-concurrent job execution prevents overlapping runs. - Secret isolation: Outbound credentials reside in runtime secret configuration and must never appear in schedule metadata or routine logs.
System Visualizations
System Context
Component Topology
Architecture Decisions
Architecture Decision Records (5)
Decisions that apply to this Scheduler System. Search, filter by status, or sort by clicking a column.Related Documentation
- Product IngestionFlowv1.0.0Product IngestionCatalog API persists product changes in PostgreSQL; Scheduler triggers Catalog Ingestion over Kafka every five minutes t...Ownercatalog-experience-teamView flowOpen docs — Scheduled catalog vector ingestion workflow.
- Quartz scheduler schema referenceCustom DocQuartz scheduler schema referencePostgreSQL schema, keys, retention limits, and BookWorm job configuration for all 15 Quartz.NET 4.8.1 tables in schedule...Ownerplatform-engineering-teamOpen doc — Persistent scheduler schema reference.
- domains/bookworm/subdomains/platform/guides/scheduled-work-and-email-notifications — Guide to scheduled platform work.