event

Review Published

Published when a submitted review passes moderation and becomes visible on the storefront.

EventBroker:Kafka

Overview

ReviewPublished is published by the Review Moderation WorkerReview Moderation WorkerServicev1.0.0Asynchronous worker that screens submitted reviews for spam, abuse and policy violations, then publishes or rejects them...Publishesreview-published, review-rejectedSubscribesreview-submitted, review-flaggedOwnerreviews-platformMapRepoView docs when a review passes moderation. The Rating AggregatorRating AggregatorServicev1.0.0Keeps each product's aggregate star rating up to date as reviews are published, and serves it fast from a cache. Publishesrating-updatedSubscribesreview-publishedOwnerreviews-platformMapRepoView docs consumes it to update the product’s aggregate rating.

Architecture diagram

Event-driven architecture documentation: Acme Inc

JSON Schema

5 properties
reviewIdstring<uuid>
required
productIdstring
required
customerIdstring
ratinginteger
required
Minimum: 1
Maximum: 5
publishedAtstring<date-time>
required