Kafka Events

7 produced and 4 consumed event topics for the Studio Service.

Event Format: CloudEvents 1.0

All events follow the CloudEvents 1.0 specification. Events are partitioned by tenant_id and published to Amazon MSK Serverless. studio-svc both produces and consumes events for automated media generation workflows.

Brokers

EnvironmentBrokerAuth
Stagingboot-gpm4u49z.c2.kafka-serverless.us-east-1.amazonaws.com:9098SASL/OAUTHBEARER (IAM)
Productionb-1.eventzr-msk-prod.ap-south-1.amazonaws.com:9098SASL/OAUTHBEARER (IAM)

Event Envelope

CloudEvents 1.0 envelopejson
{
  "specversion": "1.0",
  "type": "eventzr.studio.render-job.completed.v1",
  "source": "studio-svc",
  "id": "evt-550e8400-e29b-41d4-a716-446655440000",
  "time": "2026-02-28T12:00:00.000Z",
  "datacontenttype": "application/json",
  "subject": "tenant-uuid",
  "data": {
    "tenantId": "tenant-uuid",
    "userId": "user-uuid",
    "jobId": "job-uuid",
    "type": "image",
    "provider": "dall-e-3",
    "outputUrl": "https://s3.amazonaws.com/eventzr-studio-assets-dev/...",
    "durationMs": 8500,
    "creditsUsed": 25
  }
}

Produced Topics (7)

Render Jobs3

TopicDescription
eventzr.studio.render-job.created.v1Render job submitted for processing (image, video, audio, etc.)
eventzr.studio.render-job.completed.v1Render job finished successfully with output URL
eventzr.studio.render-job.failed.v1Render job failed after all retries exhausted

Templates2

TopicDescription
eventzr.studio.template.created.v1New media template created (poster, invitation, presentation, etc.)
eventzr.studio.template.updated.v1Existing template updated with new configuration or assets

Voice Models2

TopicDescription
eventzr.studio.voice-model.created.v1Voice cloning training job submitted (ElevenLabs)
eventzr.studio.voice-model.ready.v1Voice model training completed and is ready for use

Consumed Topics (4)

Inbound Triggers4

TopicDescription
eventzr.event.created.v1Auto-generate event poster and invitation when new event is created
eventzr.event.published.v1Generate social media assets when event is published
eventzr.cms.published.v1Generate media for CMS content (blog images, thumbnails)
eventzr.campaign.launched.v1Generate campaign creative assets (banners, social posts)