Review Moderation Worker
Asynchronous worker that screens submitted reviews for spam, abuse and policy violations, then publishes or rejects them.
Overview
The Review Moderation Worker consumes Review SubmittedReview SubmittedEventv1.0.0Published when a customer submits a review. The review is stored but not yet visible — it awaits moderation.
Ownerreviews-platformSchemaMapView docs (and Review FlaggedReview FlaggedEventv1.0.0Published when a published review is flagged and needs to be screened again.
Ownerreviews-platformSchemaMapView docs for already-published reviews), screens each review (automated checks plus thresholds for manual review), and records the outcome on the Review DatabaseReview DatabaseContainerv1.0.0PostgreSQL database that is the system of record for reviews and their moderation state.MapView docs. It then publishes either Review PublishedReview PublishedEventv1.0.0Published when a submitted review passes moderation and becomes visible on the storefront.
Ownerreviews-platformSchemaMapView docs or Review RejectedReview RejectedEventv1.0.0Published when a submitted review fails moderation (spam, abuse or policy violation) and will not be shown.
Ownerreviews-platformSchemaMapView docs.
Responsibilities
| Area | Description |
|---|---|
| Moderation | Screens reviews for spam, abuse and policy violations. |
| Outcome | Publishes Review PublishedReview PublishedEventv1.0.0Published when a submitted review passes moderation and becomes visible on the storefront. Ownerreviews-platformSchemaMapView docs or Review RejectedReview RejectedEventv1.0.0Published when a submitted review fails moderation (spam, abuse or policy violation) and will not be shown. Ownerreviews-platformSchemaMapView docs. |
| Persistence | Records the moderation decision on the Review DatabaseReview DatabaseContainerv1.0.0 |