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

Read the architecture guide →

Feedback deleted

Indicates that a customer feedback rating was deleted for a book. Rating API publishes this event so Catalog can remove it from its denormalized summary.

Reviews

FeedbackDeletedIntegrationEvent (v1.0.0) signals that 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 deleted an existing customer FeedbackEntityv1.0.0FeedbackRepresents an individual customer's rating and optional written review for a Catalog book.Ownercatalog-experience-teamOpen docs document from Azure Cosmos DB. 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 consumes this event to subtract the removed score from the target book’s denormalized rating summary in PostgreSQL.

Overview

PropertyValue
Bounded ContextReviews
ProducerRating 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(s)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
Protocol / FormatKafka + CloudEvents JSON (camelCase payload)
Channel / TopicFeedback Deleted ChannelChannelv1.0.0Feedback Deleted ChannelKafka topic owned by the contributor team carrying Rating API feedback-deleted events consumed by Catalog API to update ...Ownercatalog-experience-teamOpen docs
Dead-Letter ChannelCatalog Dead Letter QueueChannelv1.0.0Catalog Dead Letter QueueKafka dead-letter topic owned by the platform team that captures Rating feedback events that Catalog API could not proce...Ownerplatform-engineering-teamOpen docs
Partition KeyBookId
Delivery / Idempotency GuaranteePublished via transactional outbox; consumed with Redis-backed 24-hour idempotency keyed by id

Payload Fields & Envelope

Event Payload

NameTypeRequiredConstraintsDescription
idstring (uuid)YesUUIDv7Unique event identifier used 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 as the Redis idempotency key
creationDatestring (date-time)YesISO 8601 UTC timestampUTC timestamp when the event was created
bookIdstring (uuid)YesValid UUID; Kafka partition keyIdentifier of the book whose rating summary must be decremented
ratingintegerYes0-5Rating score removed from the book’s denormalized rating summary
feedbackIdstring (uuid)YesValid UUIDIdentifier of the deleted feedback record

CloudEvents Envelope Headers

HeaderValue / SourcePurpose
messagetypeBookWorm.Contracts.FeedbackDeletedIntegrationEventExplicit message identity for cross-service deserialization
sourceurn:bookworm:bookworm-ratingIdentifies the producing service
requestidPropagated from DELETE /rating/api/v1/feedbacks/{id}Correlates feedback deletion with catalog projection updates

Delivery Guarantees & Error Handling

ConditionSystem BehaviorRecovery / Compensation
Duplicate delivery within 24 hoursConsumer skips reprocessing via Redis-backed 24-hour idempotency keyed by idPrevents double-subtracting a rating on retries
Target book not found in 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 docsConsumer returns without modifying state or emitting a compensating eventNo action required; no local rating summary exists to adjust
Transient database or concurrency errorRetried with cooldown (50ms, 250ms, 1s) and full jitterExhausted messages route to Catalog Dead Letter QueueChannelv1.0.0Catalog Dead Letter QueueKafka dead-letter topic owned by the platform team that captures Rating feedback events that Catalog API could not proce...Ownerplatform-engineering-teamOpen docs
Deserialization failureRouted directly to Catalog Dead Letter QueueChannelv1.0.0Catalog Dead Letter QueueKafka dead-letter topic owned by the platform team that captures Rating feedback events that Catalog API could not proce...Ownerplatform-engineering-teamOpen docsInspect dead-letter payload against contract schema

Feedback deleted schema

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

Unique event identifier (UUIDv7) inherited from IntegrationEvent.

creationDatestring<date-time>
required

ISO 8601 UTC timestamp when the event was created.

bookIdstring<uuid>
required

Identifier of the book whose rating summary changes.

ratinginteger
required

Rating value removed from the book.

Minimum: 0
Maximum: 5
feedbackIdstring<uuid>
required

Identifier of the deleted feedback record.