API ReferenceEvent Referencecommunity.comment.created.v1

community.comment.created.v1

Constant

import { EVENT_NAMES } from "@platform/contracts";
 
EVENT_NAMES.COMMUNITY_COMMENT_CREATED_V1;

Publishers

Subscribers

No service currently subscribes to this event.

Payload schema

z.object({
  comment_id: z.string(),
  post_id: z.string(),
  author_id: z.string(),
  brand_id: z.string(),
  body_preview: z.string(),
  created_at: z.string().datetime(),
}

Delivery semantics

  • At-least-once delivery. Consumers must dedupe by event ID.
  • Fanned out to both NATS (in-cluster) and EventBridge (durable). See Events concept.