Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

Process vector batch

Integration event published by Scheduler every five minutes to trigger Catalog Ingestion vector batch processing over Kafka.

Integration Event

ProcessVectorBatchIntegrationEvent (v1.0.0) is a lightweight scheduled trigger published every five minutes by 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 over Kafka. 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 this event to fetch changed catalog records from PostgreSQL, generate embeddings, and update the Qdrant vector index.

Overview

PropertyValue
Bounded ContextPlatform / Scheduler
ProducerScheduler 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
Consumer(s)Catalog IngestionServicev1.0.0Catalog IngestionInternal background worker that reads pending Catalog book updates and synchronizes semantic search vectors in Qdrant. SubscribesProcessVectorBatchIntegrationEventOwnercatalog-experience-teamDiagramRepositoryOpen docs (consumer group catalog-ingestion)
Protocol / FormatKafka + CloudEvents JSON (camelCase payload)
Channel / TopicProcess 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 (unprefixed across environments)
Dead-Letter ChannelNone (pending records remain queued in PostgreSQL for the next scheduled batch)
Partition KeyNone (single trigger event per 5-minute cron 0 0/5 * * * ? UTC)
Delivery / Idempotency GuaranteePublished via transactional outbox; misfire policy FireOnceNow
Note

Unlike every other BookWorm integration topic, scheduler.process-vector-batch is unprefixed (omits bookworm.{env}.) so the static Azure Functions Kafka trigger binding matches across environments.

Payload Fields & Envelope

Event Payload

The event carries only the two base envelope fields; batch sizing, selection order, and vector upsert logic remain owned by Catalog IngestionServicev1.0.0Catalog IngestionInternal background worker that reads pending Catalog book updates and synchronizes semantic search vectors in Qdrant. SubscribesProcessVectorBatchIntegrationEventOwnercatalog-experience-teamDiagramRepositoryOpen docs.

NameTypeRequiredConstraintsDescription
idstring (uuid)YesUUIDv7Unique identifier of the trigger event
creationDatestring (date-time)YesISO 8601 UTC timestampUTC timestamp when the trigger event was created

CloudEvents Envelope Headers

HeaderValue / SourcePurpose
messagetypeBookWorm.Contracts.ProcessVectorBatchIntegrationEventExplicit message identity for cross-service deserialization
sourceurn:bookworm:bookworm-schedulerIdentifies the producing service

Delivery Guarantees & Error Handling

ConditionSystem BehaviorRecovery / Compensation
Misfire during Scheduler downtimeScheduler applies FireOnceNow misfire handlingA single catch-up event is published when Scheduler resumes
Catalog Ingestion processing failureAzure Functions Kafka trigger invocation failsPending records remain eligible on the next five-minute run

Process vector batch schema

2 properties
Additional properties: not allowed
idstring<uuid>
required

Unique identifier of the integration event.

creationDatestring<date-time>
required

UTC timestamp when the event was created.