Book Rating Update Failed Channel
Kafka compensation topic owned by the contributor team used by Catalog API when a feedback-created event references a missing book.
Purpose & Scope
This compensation topic carries failure signals published 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 within the Catalog bounded context when a newly submitted feedback event references a book that does not exist. Rating APIServicev1.0.0Rating APIInternal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog book...PublishesFeedbackCreatedIntegrationEvent, FeedbackDeletedIntegrationEventSubscribesCreateFeedback, DeleteFeedback +3APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs consumes this event to remove the orphaned feedback record and keep rating data consistent. Feedback deletions for unknown books are ignored and do not emit this signal.
Channel Specification
| Property | Value |
|---|---|
| Bounded Context / Owner | CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs / Catalog Experience TeamTeamCatalog Experience TeamStream-Aligned team owning BookWorm's product catalog, customer reviews, and storefront/backoffice discovery experience....Open docs |
| Channel Type | Topic |
| Address Pattern | bookworm.{env}.catalog.book-update-rating-failed |
| Parameters | env (development, staging, production; default: development) |
| Protocol & Envelope Format | Kafka + CloudEvents JSON (application/json) |
| Partition Key & Ordering Guarantee | Keyed by feedbackId; preserves per-feedback ordering within a partition |
| Delivery Semantics | At-least-once |
| Dead-Letter Channel | Rating Dead Letter QueueChannelv1.0.0Rating Dead Letter QueueKafka dead-letter topic owned by the platform team that captures Catalog compensation events that Rating API could not p...Ownerplatform-engineering-teamOpen docs |
Messages & Participants
| Message | Type | Producer | Consumer(s) | Consumer Group |
|---|---|---|---|---|
| Book rating update failedEventv1.0.0Book rating update failedIndicates that Catalog could not apply a feedback-created event because the referenced book was not found. Ownercatalog-experience-teamSchemaDiagramOpen docs | Event | 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 | Rating APIServicev1.0.0Rating APIInternal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog book...PublishesFeedbackCreatedIntegrationEvent, FeedbackDeletedIntegrationEventSubscribesCreateFeedback, DeleteFeedback +3APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs | Rating service consumer |
Ordering, Retries & Failure Handling
- Partition-key ordering: Records are partitioned by
feedbackIdso compensation actions for the same feedback item are serialized. - Transient retries: Rating APIServicev1.0.0Rating APIInternal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog book...PublishesFeedbackCreatedIntegrationEvent, FeedbackDeletedIntegrationEventSubscribesCreateFeedback, DeleteFeedback +3APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs performs bounded retries with backoff for transient database or network errors.
- Immediate DLQ routing: Poison payloads, deserialization errors, or exhausted retries route to Rating Dead Letter QueueChannelv1.0.0Rating Dead Letter QueueKafka dead-letter topic owned by the platform team that captures Catalog compensation events that Rating API could not p...Ownerplatform-engineering-teamOpen docs.
- Consumer idempotency: Removing an already-deleted feedback record is a safe no-op.
Channel Details & Visualization
Channel information
bookworm.{env}.catalog.book-update-rating-failed- kafka
| Parameter | Description | Options | Default |
|---|---|---|---|
| env | BookWorm deployment environment. | development, staging, production | development |
Related Documentation
- Rating Dead Letter QueueChannelv1.0.0Rating Dead Letter QueueKafka dead-letter topic owned by the platform team that captures Catalog compensation events that Rating API could not p...Ownerplatform-engineering-teamOpen docs — Consumer dead-letter queue
- Feedback Created ChannelChannelv1.0.0Feedback Created ChannelKafka topic owned by the contributor team carrying Rating API feedback-created events consumed by Catalog API to update ...Ownercatalog-experience-teamOpen docs — Upstream feedback creation topic
- 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 — Compensation producer
- Rating APIServicev1.0.0Rating APIInternal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog book...PublishesFeedbackCreatedIntegrationEvent, FeedbackDeletedIntegrationEventSubscribesCreateFeedback, DeleteFeedback +3APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs — Compensation consumer
- Customer Feedback Publication and ProjectionFlowv1.0.0Customer Feedback Publication and ProjectionRating API persists customer feedback in Cosmos DB and publishes an integration event; Catalog API updates the derived b...Ownercatalog-experience-teamView flowOpen docs — Feedback publication and compensation flow
- Contracts and MessagingCustom DocContracts and MessagingOwned APIs and events connect independently maintained BookWorm capabilities without sharing business state.Ownerplatform-engineering-teamOpen doc — Messaging standards and idempotency rules