mention.digest.scheduled.v1
mention.digest.scheduled.v1 — daily cron fan-out aggregating un-acknowledged @mentions from the prior 24 hours.
Constant
import { EVENT_NAMES } from "@platform/contracts";
EVENT_NAMES.MENTION_DIGEST_SCHEDULED_V1;Publishers
No service currently publishes this event.
Subscribers
No service currently subscribes to this event.
Payload schema
z.object({
user_id: z.string(),
email: z.string().email(),
brand_id: z.string(),
mention_count: z.number().int().positive(),
top_mentions: z.array(MentionDigestItemV1Schema).max(3),
digest_date: z.string(),
}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.