Catalog Ingestion
Internal background worker that reads pending Catalog book updates and synchronizes semantic search vectors in Qdrant.
Service Responsibility & Boundary
Catalog Ingestion is an internal background worker within the CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs domain that reads coalesced book mutations from Catalog DatabaseContainerv1.0.0Catalog DatabaseAuthoritative PostgreSQL system of record owned by the Catalog bounded context for books, authors, categories, publisher...Ownercatalog-experience-teamDiagramOpen docs, generates semantic embeddings, and upserts or removes records in Catalog VectorContainerv1.0.0Catalog VectorNon-authoritative Qdrant vector search index owned by the Catalog bounded context for hybrid semantic and keyword book d...Ownercatalog-experience-teamDiagramOpen docs. Authoring APIs and synchronous search queries remain owned by Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs, while recurring schedule management is delegated to 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.
Service Profile
| Property | Value |
|---|---|
| Bounded Context / Domain | CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs |
| Owner Team | Catalog Experience TeamTeamCatalog Experience TeamStream-Aligned team owning BookWorm's product catalog, customer reviews, and storefront/backoffice discovery experience....Open docs |
| Runtime Style | Async Worker (Kafka-triggered serverless function) |
| Public / Gateway Exposure | Internal Only (no HTTP or gRPC surface) |
| Authentication & Authorization Policy | Internal worker; Azure Managed Identity RBAC for AI embedding generation |
| Owned Data Store(s) | Reads/acknowledges pending queue in Catalog DatabaseContainerv1.0.0Catalog DatabaseAuthoritative PostgreSQL system of record owned by the Catalog bounded context for books, authors, categories, publisher...Ownercatalog-experience-teamDiagramOpen docs; writes derived index in Catalog VectorContainerv1.0.0Catalog VectorNon-authoritative Qdrant vector search index owned by the Catalog bounded context for hybrid semantic and keyword book d...Ownercatalog-experience-teamDiagramOpen docs |
| Key Resilience / Idempotency Pattern | Distributed advisory lock for single-writer exclusivity and revision-checked queue acknowledgment |
Contracts & Data Ownership
Catalog Ingestion owns no authoritative business entities. It processes bounded batches of up to 200 pending updates from Catalog DatabaseContainerv1.0.0Catalog DatabaseAuthoritative PostgreSQL system of record owned by the Catalog bounded context for books, authors, categories, publisher...Ownercatalog-experience-teamDiagramOpen docs on each scheduled trigger and updates Catalog VectorContainerv1.0.0Catalog VectorNon-authoritative Qdrant vector search index owned by the Catalog bounded context for hybrid semantic and keyword book d...Ownercatalog-experience-teamDiagramOpen docs accordingly.
If a book is modified concurrently while a batch is in flight, its pending queue revision changes and the worker leaves the row queued for the next cycle—preventing stale embeddings from overwriting newer edits.
Sends messages (0)
Quickly find the message you need by searching for the name, type, or summary.| Name | Version | Type | Summary | Channels |
|---|---|---|---|---|
| No messages found | ||||
- Single-writer exclusivity: Acquires an exclusive advisory lock on Catalog DatabaseContainerv1.0.0Catalog DatabaseAuthoritative PostgreSQL system of record owned by the Catalog bounded context for books, authors, categories, publisher...Ownercatalog-experience-teamDiagramOpen docs; overlapping triggers exit immediately without duplicate work. - Retry on downstream failure: If embedding generation or vector store writes fail, unacknowledged rows remain queued and are retried automatically on the next 5-minute trigger.
Architecture Visualizations & Specifications
Vector Indexing Flow
Loading graph...
Service Interactions
Attached Resources & Related Docs
- API and contracts indexCustom DocAPI and contracts indexConsolidated index of BookWorm HTTP v1, gRPC, AG-UI, MCP, A2A, and Kafka/Wolverine contracts grouped by service with aut...Ownerplatform-engineering-teamOpen doc — Consolidated service and messaging directory.
- Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs — Authoritative Catalog service that enqueues vector updates.
- 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 — Scheduler dispatching periodic batch triggers.
- Catalog DatabaseContainerv1.0.0Catalog DatabaseAuthoritative PostgreSQL system of record owned by the Catalog bounded context for books, authors, categories, publisher...Ownercatalog-experience-teamDiagramOpen docs — Authoritative catalog store and pending update queue.
- Catalog VectorContainerv1.0.0Catalog VectorNon-authoritative Qdrant vector search index owned by the Catalog bounded context for hybrid semantic and keyword book d...Ownercatalog-experience-teamDiagramOpen docs — Derived vector search collection.