service
Review Moderation Worker

Review Moderation Worker

Asynchronous worker that screens submitted reviews for spam, abuse and policy violations, then publishes or rejects them.

Service

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

AreaDescription
ModerationScreens reviews for spam, abuse and policy violations.
OutcomePublishes 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.
PersistenceRecords the moderation decision on the Review DatabaseReview DatabaseContainerv1.0.0PostgreSQL database that is the system of record for reviews and their moderation state.MapView docs.

Architecture diagram

Messages for this service

Sends messages (2)

Quickly find the message you need by searching for the name, type, or summary.
NameVersionTypeSummary
Review Published
v1.0.0eventPublished when a submitted review passes moderation and becomes visible on the storefront.
Review Rejected
v1.0.0eventPublished when a submitted review fails moderation (spam, abuse or policy violation) and will not be shown.

Receives messages (2)

Quickly find the message you need by searching for the name, type, or summary.
NameVersionTypeSummary
Review Submitted
v1.0.0eventPublished when a customer submits a review. The review is stored but not yet visible — it awaits moderation.
Review Flagged
v1.0.0eventPublished when a published review is flagged and needs to be screened again.
Event-driven architecture documentation: Acme Inc