Process vector batch
Integration event published by Scheduler every five minutes to trigger Catalog Ingestion vector batch processing over Kafka.
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
| Property | Value |
|---|---|
| Bounded Context | Platform / Scheduler |
| Producer | 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 |
| 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 / Format | Kafka + CloudEvents JSON (camelCase payload) |
| Channel / Topic | 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 (unprefixed across environments) |
| Dead-Letter Channel | None (pending records remain queued in PostgreSQL for the next scheduled batch) |
| Partition Key | None (single trigger event per 5-minute cron 0 0/5 * * * ? UTC) |
| Delivery / Idempotency Guarantee | Published via transactional outbox; misfire policy FireOnceNow |
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.
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
id | string (uuid) | Yes | UUIDv7 | Unique identifier of the trigger event |
creationDate | string (date-time) | Yes | ISO 8601 UTC timestamp | UTC timestamp when the trigger event was created |
CloudEvents Envelope Headers
| Header | Value / Source | Purpose |
|---|---|---|
messagetype | BookWorm.Contracts.ProcessVectorBatchIntegrationEvent | Explicit message identity for cross-service deserialization |
source | urn:bookworm:bookworm-scheduler | Identifies the producing service |
Delivery Guarantees & Error Handling
| Condition | System Behavior | Recovery / Compensation |
|---|---|---|
| Misfire during Scheduler downtime | Scheduler applies FireOnceNow misfire handling | A single catch-up event is published when Scheduler resumes |
| Catalog Ingestion processing failure | Azure Functions Kafka trigger invocation fails | Pending records remain eligible on the next five-minute run |
Related Documentation
- 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 — Unprefixed Kafka channel specification.
- 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 — Quartz scheduler service.
- Catalog IngestionServicev1.0.0Catalog IngestionInternal background worker that reads pending Catalog book updates and synchronizes semantic search vectors in Qdrant. SubscribesProcessVectorBatchIntegrationEventOwnercatalog-experience-teamDiagramRepositoryOpen docs — Azure Functions consumer service.
Process vector batch schema
not allowedUnique identifier of the integration event.
UTC timestamp when the event was created.