How to send events from Event Grid basic to Event Grid namespace topics
This article describes how to forward events from event subscriptions created in resources like custom topics, system topics, domains, and partner topics to Event Grid namespaces.
Overview
Namespace topic as a destination in Event Grid basic event subscriptions that helps you to transition to Event Grid namespaces without modifying your existing workflow.
Event Grid namespaces provides new, and interesting capabilities that you might be interested to use in your solutions. If you're currently using Event Grid basic resources like topics, system topics, domains, and partner topics you only need to create a new event subscription in your current topic and select Event Grid namespace topic as a handler destination.
How to forward events to a new Event Grid namespace
Scenario: Subscribe to a storage account system topic and forward storage events to a new Event Grid namespace.
Prerequisites
- Create an Event Grid namespace resource by following instructions from Create, view, and manage namespaces.
- Create an Event Grid namespace topic by following instructions from Create, view, and manage namespace topics.
- Create an Event Grid event subscription in a namespace topic by following instructions from Create, view, and manage event subscriptions in namespace topics.
- Create an Azure storage account by following instructions from create a storage account.
Create and configure the event subscription
Note
For Event Schema, select the event schema as Cloud Events Schema v1.0. It's the only schema type that the Event Grid Namespace Topic destination supports.
Once the subscription is configured with the basic information, select the Event Grid Namespace Topic endpoint type in the endpoint details section and select Configure an endpoint to configure the endpoint.
You might want to use this article as a reference to explore how to subscribe to the blob storage.
Steps to configure the endpoint:
- On the Select Event Grid Namespace Topic page, follow these steps.
- Now, on the Create Event Subscription page, select Create to create the event subscription.
Next steps
See the following articles: