Book rating update failed
Indicates that Catalog could not apply a feedback-created event because the referenced book was not found.
BookUpdatedRatingFailedIntegrationEvent (v1.0.0) is a compensating event 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 when it receives Feedback createdEventv1.0.0Feedback createdIndicates that a customer feedback rating was created for a book. Rating API
publishes this event so Catalog can update ...Ownercatalog-experience-teamSchemaDiagramOpen docs for a book that does not exist in the catalog. 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 revert and delete the orphaned feedback record.
Overview
| Property | Value |
|---|---|
| Bounded Context | Catalog (compensating for Reviews) |
| Producer | 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 |
| Consumer(s) | 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 |
| Protocol / Format | Kafka + CloudEvents JSON (camelCase payload) |
| Channel / Topic | Book Rating Update Failed ChannelChannelv1.0.0Book Rating Update Failed ChannelKafka compensation topic owned by the contributor team used by Catalog API when a feedback-created event references a mi...Ownercatalog-experience-teamOpen docs |
| 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 |
| Partition Key | FeedbackId |
| Delivery / Idempotency Guarantee | Published via transactional outbox; consumed with Redis-backed 24-hour idempotency keyed by id |
Payload Fields & Envelope
Event Payload
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
id | string (uuid) | Yes | UUIDv7 | Unique event identifier used by 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 as the Redis idempotency key |
creationDate | string (date-time) | Yes | ISO 8601 UTC timestamp | UTC timestamp when the event was created |
feedbackId | string (uuid) | Yes | Valid UUID; Kafka partition key | Identifier of the orphaned FeedbackEntityv1.0.0FeedbackRepresents an individual customer's rating and optional written review for a Catalog book.Ownercatalog-experience-teamOpen docs record to revert and delete |
CloudEvents Envelope Headers
| Header | Value / Source | Purpose |
|---|---|---|
messagetype | BookWorm.Contracts.BookUpdatedRatingFailedIntegrationEvent | Explicit message identity for cross-service deserialization |
source | urn:bookworm:bookworm-catalog | Identifies the producing service |
requestid | Propagated from incoming Feedback createdEventv1.0.0Feedback createdIndicates that a customer feedback rating was created for a book. Rating API publishes this event so Catalog can update ...Ownercatalog-experience-teamSchemaDiagramOpen docs | Traces compensation back to the originating review submission |
Delivery Guarantees & Error Handling
| Condition | System Behavior | Recovery / Compensation |
|---|---|---|
| Duplicate delivery within 24 hours | Consumer skips reprocessing via Redis-backed 24-hour idempotency keyed by id | Safe at-least-once delivery |
| Feedback record already deleted | Consumer returns without error | No action required; compensation is naturally idempotent |
| Transient store or network failure | Retried with cooldown (50ms, 250ms, 1s) and full jitter | Exhausted messages 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 |
| Deserialization failure | Routed directly 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 | Inspect dead-letter payload against contract schema |
Related Documentation
- Book Rating Update Failed ChannelChannelv1.0.0Book Rating Update Failed ChannelKafka compensation topic owned by the contributor team used by Catalog API when a feedback-created event references a mi...Ownercatalog-experience-teamOpen docs — Kafka channel specification.
- 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 — Dead-letter channel for failed Rating consumers.
- Feedback createdEventv1.0.0Feedback createdIndicates that a customer feedback rating was created for a book. Rating API publishes this event so Catalog can update ...Ownercatalog-experience-teamSchemaDiagramOpen docs — Upstream event that triggers this compensation when a book is missing.
- 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 — Producer service.
- 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 — Consumer service owning feedback records.
- FeedbackEntityv1.0.0FeedbackRepresents an individual customer's rating and optional written review for a Catalog book.Ownercatalog-experience-teamOpen docs — Feedback document schema.
Book rating update failed schema
not allowedUnique event identifier (UUIDv7) inherited from IntegrationEvent.
ISO 8601 UTC timestamp when the event was created.
Identifier of the feedback that could not be applied.