Kafka Events

15 event topics across 6 categories published to Amazon MSK Serverless.

Event Format: CloudEvents 1.0

All events follow the CloudEvents 1.0 specification and are published using the transactional outbox pattern. Events are partitioned by tenant_id and published to Amazon MSK Serverless via the OutboxPublisherService.

Brokers

EnvironmentBroker
Stagingb-1.eventzr-msk.ap-south-1.amazonaws.com:9098
Productionb-1.eventzr-msk-prod.ap-south-1.amazonaws.com:9098

Event Envelope

CloudEvents 1.0 envelopejson
{
  "specversion": "1.0",
  "type": "eventzr.review.created.v1",
  "source": "reviews-svc",
  "id": "evt-550e8400-e29b-41d4-a716-446655440000",
  "time": "2026-02-24T12:00:00.000Z",
  "datacontenttype": "application/json",
  "subject": "tenant-uuid",
  "data": {
    "reviewId": "rev_01HXYZ...",
    "tenantId": "00000000-0000-0000-0000-000000000001",
    "userId": "usr_abc123",
    "entityType": "event",
    "entityId": "evt_abc123xyz",
    "rating": 5,
    "title": "Amazing event!",
    "content": "This was one of the best events I have attended.",
    "sentiment": "positive",
    "sentimentScore": 0.92,
    "isVerifiedPurchase": true,
    "isAnonymous": false,
    "status": "published",
    "tags": ["well-organized", "great-speakers"],
    "createdAt": "2026-02-24T12:00:00.000Z"
  }
}

Event Topics (15)

Review Lifecycle4

TopicDescription
eventzr.review.created.v1New review created
eventzr.review.published.v1Review status changed to published
eventzr.review.updated.v1Review updated
eventzr.review.deleted.v1Review deleted

AI & Sentiment3

TopicDescription
eventzr.review.sentiment.computed.v1AI sentiment analysis completed for a review
eventzr.review.flagged.v1Review flagged for moderation
eventzr.review.moderated.v1Review moderation action taken (approved/rejected)

Social3

TopicDescription
eventzr.review.reply.created.v1Reply created for a review
eventzr.review.reply.updated.v1Reply to a review updated
eventzr.review.shared.v1Review shared on social media

Import & Sync1

TopicDescription
eventzr.review.imported.v1Review imported from external source (Google, Yelp, etc.)

Feedback2

TopicDescription
eventzr.review.nps.recorded.v1NPS score recorded for a campaign
eventzr.review.csat.recorded.v1CSAT score recorded

Disputes2

TopicDescription
eventzr.review.dispute.created.v1Dispute filed against a review
eventzr.review.dispute.resolved.v1Dispute against a review resolved