Skip to main content
A topic is the publishing destination for a group of subscriptions. Create one per stream of events that shares access rules and delivery defaults, such as order-events or production-alerts. Filters let subscribers select a subset of that stream without requiring another topic.

Create the topic

Select the account and region where publishers and subscribers will operate. Creating a topic requires notifications:CreateTopic; see permissions.
  1. Open Notifications and select Create Topic.
  2. Enter a Name, such as production-alerts.
  3. Optionally enter a Display name and Tags.
  4. Select Create topic. The console opens the topic’s page.
Add recipients from its Subscriptions tab. A topic with no confirmed, matching subscriptions accepts publications but delivers nothing.

Choose a stable name

Names contain 1–256 ASCII letters, digits, dots, dashes, or underscores and start with a letter or digit. A name must be unique in the account and region. UUID names and the crn: prefix are reserved. The name is immutable and forms the topic CRN, so choose it before writing access policies. The display name is optional and can be changed. It is limited to 100 bytes and is used as the email subject when a publication has no subject.

Delivery defaults

The console creation form uses the platform retry policy. The API accepts a delivery_policy object at creation or in PATCH /v1/topics/{topic_id}:
Each subscription can override individual fields. An omitted subscription field inherits the topic’s value, then the platform default. See delivery and retries for the ranges and which failures are retried.

Next steps

Create a subscription, then publish a message. Open the topic’s Metrics tab to observe publishing and delivery rates. Deleting a topic also deletes its subscriptions, published message records, and delivery records.