Skip to content

Commit 57b42b9

Browse files
committed
review & update
1 parent 0dd50b8 commit 57b42b9

File tree

1 file changed

+9
-29
lines changed

1 file changed

+9
-29
lines changed

articles/event-grid/event-domains.md

Lines changed: 9 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,31 @@
22
title: Event Domains in Azure Event Grid
33
description: This article describes how to use event domains to manage the flow of custom events to your various business organizations, customers, or applications.
44
ms.topic: conceptual
5-
ms.date: 04/13/2021
5+
ms.date: 11/17/2022
66
---
77

88
# Understand event domains for managing Event Grid topics
9-
10-
This article describes how to use event domains to manage the flow of custom events to your various business organizations, customers, or applications. Use event domains to:
9+
An event domain is a management tool for large number of Event Grid topics related to the same application. You can think of it as a meta-topic that can have thousands of individual topics. It allows an event publisher to publish events to thousands of topics at the same time. Domains also give you authentication and authorization control over each topic so you can partition your tenants. This article describes how to use event domains to manage the flow of custom events to your various business organizations, customers, or applications. Use event domains to:
1110

1211
* Manage multitenant eventing architectures at scale.
13-
* Manage your authorization and authentication.
12+
* Manage your authentication and authorization.
1413
* Partition your topics without managing each individually.
1514
* Avoid individually publishing to each of your topic endpoints.
1615

17-
## Event domain overview
18-
19-
An event domain is a management tool for large numbers of Event Grid topics related to the same application. You can think of it as a meta-topic that can have thousands of individual topics.
20-
21-
Event domains provide you the same architecture used by Azure services like Storage and IoT Hub to publish their events. They allow you to publish events to thousands of topics. Domains also give you authorization and authentication control over each topic so you can partition your tenants.
22-
2316
## Example use case
2417
[!INCLUDE [event-grid-domain-example-use-case.md](./includes/event-grid-domain-example-use-case.md)]
2518

2619
## Access management
2720

28-
With a domain, you get fine grain authorization and authentication control over each topic via Azure role-based access control (Azure RBAC). You can use these roles to restrict each tenant in your application to only the topics you wish to grant them access to.
29-
30-
Azure RBAC in event domains works the same way [managed access control](security-authorization.md) works in the rest of Event Grid and Azure. Use Azure RBAC to create and enforce custom role definitions in event domains.
21+
With a domain, you get fine grain authorization and authentication control over each topic via Azure role-based access control (Azure RBAC). You can use these roles to restrict each tenant in your application to only the topics you wish to grant them access to. Azure RBAC in event domains works the same way [managed access control](security-authorization.md) works in the rest of Event Grid and Azure. Use Azure RBAC to create and enforce custom role definitions in event domains.
3122

3223
### Built in roles
3324

34-
Event Grid has two built-in role definitions to make Azure RBAC easier for working with event domains. These roles are **EventGrid EventSubscription Contributor (Preview)** and **EventGrid EventSubscription Reader (Preview)**. You assign these roles to users who need to subscribe to topics in your event domain. You scope the role assignment to only the topic that users need to subscribe to.
35-
36-
For information about these roles, see [Built-in roles for Event Grid](security-authorization.md#built-in-roles).
25+
Event Grid has two built-in role definitions to make Azure RBAC easier for working with event domains. These roles are **EventGrid EventSubscription Contributor** and **EventGrid EventSubscription Reader**. You assign these roles to users who need to subscribe to topics in your event domain. You scope the role assignment to only the topic that users need to subscribe to. For information about these roles, see [Built-in roles for Event Grid](security-authorization.md#built-in-roles).
3726

3827
## Subscribing to topics
3928

40-
Subscribing to events on a topic within an event domain is the same as [creating an Event Subscription on a custom topic](./custom-event-quickstart.md) or subscribing to an event from an Azure service.
29+
Subscribing to events for a topic within an event domain is the same as [creating an Event Subscription on a custom topic](./custom-event-quickstart.md) or subscribing to an event from an Azure service.
4130

4231
> [!IMPORTANT]
4332
> Domain topic is considered an **auto-managed** resource in Event Grid. You can create an event subscription at the [domain scope](#domain-scope-subscriptions) without creating the domain topic. In this case, Event Grid automatically creates the domain topic on your behalf. Of course, you can still choose to create the domain topic manually. This behavior allows you to worry about one less resource when dealing with a huge number of domain topics. When the last subscription to a domain topic is deleted, the domain topic is also deleted irrespective of whether the domain topic was manually created or auto-created.
@@ -48,11 +37,7 @@ Event domains also allow for domain-scope subscriptions. An event subscription o
4837

4938
## Publishing to an event domain
5039

51-
When you create an event domain, you're given a publishing endpoint similar to if you had created a topic in Event Grid.
52-
53-
To publish events to any topic in an Event Domain, push the events to the domain's endpoint the [same way you would for a custom topic](./post-to-custom-topic.md). The only difference is that you must specify the topic you'd like the event to be delivered to.
54-
55-
For example, publishing the following array of events would send event with `"id": "1111"` to topic `foo` while the event with `"id": "2222"` would be sent to topic `bar`:
40+
When you create an event domain, you're given a publishing endpoint similar to if you had created a topic in Event Grid. To publish events to any topic in an event domain, push the events to the domain's endpoint the [same way you would for a custom topic](./post-to-custom-topic.md). The only difference is that you must specify the topic you'd like the event to be delivered to. For example, publishing the following array of events would send event with `"id": "1111"` to topic `foo` while the event with `"id": "2222"` would be sent to topic `bar`:
5641

5742
```json
5843
[{
@@ -95,12 +80,7 @@ Here are the limits and quotas related to event domains:
9580
If these limits don't suit you, open a support ticket or send an email to [[email protected]](mailto:[email protected]).
9681

9782
## Pricing
98-
Event domains use the same [operations pricing](https://azure.microsoft.com/pricing/details/event-grid/) that all other features in Event Grid use.
99-
100-
Operations work the same in event domains as they do in custom topics. Each ingress of an event to an event domain is an operation, and each delivery attempt for an event is an operation.
101-
102-
83+
Event domains use the same [operations pricing](https://azure.microsoft.com/pricing/details/event-grid/) that all other features in Event Grid use. Operations work the same in event domains as they do in custom topics. Each ingress of an event to an event domain is an operation, and each delivery attempt for an event is an operation.
10384

10485
## Next steps
105-
106-
* To learn about setting up event domains, creating topics, creating event subscriptions, and publishing events, see [Manage event domains](./how-to-event-domains.md).
86+
To learn about setting up event domains, creating topics, creating event subscriptions, and publishing events, see [Manage event domains](./how-to-event-domains.md).

0 commit comments

Comments
 (0)