You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/event-grid/includes/enable-identity-portal.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,22 +4,22 @@
4
4
author: spelluru
5
5
ms.service: azure-event-grid
6
6
ms.topic: include
7
-
ms.date: 02/29/2024
7
+
ms.date: 06/25/2025
8
8
ms.author: spelluru
9
9
ms.custom: include file
10
10
---
11
11
12
12
## Enable managed identity for the Event Grid namespace
13
13
14
-
1. On the **Event Grid Namespace** page, select**Identity** under**Settings** on the left menu.
15
-
1.Turn **on** the switch to enable a system-assigned managed identity.
16
-
1. Select **Save**on the toolbar to save the setting.
14
+
1. On the **Event Grid Namespace** page, under**Settings**, select**Identity**.
15
+
1.To enable a systemassigned managed identity, select **On**.
16
+
1. Select **Save** to save the setting.
17
17
18
18
:::image type="content" source="./media/enable-identity-portal/event-grid-enable-managed-identity.png" alt-text="Screenshot of a system-assigned identity page for an Event Grid namespace." lightbox="./media/enable-identity-portal/event-grid-enable-managed-identity.png":::
19
19
20
-
1.Select **Yes** on the confirmation message.
20
+
1.On the confirmation message, select **Yes**.
21
21
1. Confirm that you see the object ID of the system-assigned managed identity and see a link to assign roles.
22
22
23
23
:::image type="content" source="./media/enable-identity-portal/event-grid-enable-managed-identity-confirmation.png" alt-text="Screenshot that shows assigning identity to a namespace is completed." lightbox="./media/enable-identity-portal/event-grid-enable-managed-identity-confirmation.png":::
24
24
25
-
Check notifications in the portal to confirm that the managed identity is enabled for the namespace.
25
+
Check notifications in the Azure portal to confirm that the managed identity is enabled for the namespace.
Copy file name to clipboardExpand all lines: articles/event-grid/includes/event-grid-create-namespace-portal.md
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,38 +4,37 @@
4
4
author: spelluru
5
5
ms.service: azure-event-grid
6
6
ms.topic: include
7
-
ms.date: 02/29/2024
7
+
ms.date: 06/25/2025
8
8
ms.author: spelluru
9
9
ms.custom:
10
10
- include file
11
11
- ignite-2023
12
12
---
13
13
14
14
## Create a namespace in the Azure portal
15
-
A namespace in Azure Event Grid is a logical container for one or more topics, clients, client groups, topic spaces and permission bindings. It provides a unique namespace, allowing you to have multiple resources in the same Azure region. With an Azure Event Grid namespace, you can group now together related resources and manage them as a single unit in your Azure subscription.
16
15
17
-
Please follow the next sections to create, view and manage an Azure Event Grid namespace.
16
+
A *namespace* in Azure Event Grid is a logical container for one or more topics, clients, client groups, topic spaces, and permission bindings. With an Azure Event Grid namespace, you can group together related resources and manage them as a single unit in your Azure subscription. A unique namespace allows you to have multiple resources in the same Azure region.
18
17
19
18
To create a namespace:
20
19
21
-
1. Sign-in to the [Azure portal](https://portal.azure.com).
20
+
1. Signin to the [Azure portal](https://portal.azure.com).
22
21
1. In the **search box**, enter **Event Grid Namespaces** and select **Event Grid Namespaces** from the results.
23
22
24
23
:::image type="content" source="../media/create-view-manage-namespaces/portal-search-box-namespaces.png" alt-text="Screenshot showing Event Grid Namespaces in the search results.":::
25
24
26
-
1. On the **Event Grid Namespaces** page, select **+ Create** on the toolbar.
25
+
1. On the **Event Grid Namespaces** page, select **+ Create**.
27
26
28
27
:::image type="content" source="../media/create-view-manage-namespaces/namespace-create-button.png" alt-text="Screenshot showing Event Grid Namespaces page with the Create button on the toolbar selected.":::
29
28
30
29
1. On the **Basics** page, follow these steps.
31
30
32
-
1. Select the **Azure subscription** in which you want to create the namespace.
33
-
1. Select an existing **resource group** or create a resource group.
34
-
1. Enter a **name** for the namespace.
35
-
1. Select the region or **location** where you want to create the namespace.
36
-
1. Select **Review + create** at the bottom of the page.
31
+
1. Select the Azure subscription in which to create the namespace.
32
+
1. Select an existing **Resource Group** or create a resource group.
33
+
1. Enter a **Name** for the namespace.
34
+
1. Select the region to create the namespace.
35
+
1. Select **Review + create**.
37
36
38
37
:::image type="content" source="../media/create-view-manage-namespaces/create-namespace-basics-page.png" alt-text="Screenshot showing the Basics tab of Create namespace page.":::
39
38
40
-
1. On the **Review + create** tab, review your settings and select **Create**.
39
+
1. On the **Review + create** tab, review your settings. Then select **Create**.
41
40
1. On the **Deployment succeeded** page, select **Go to resource** to navigate to your namespace.
Copy file name to clipboardExpand all lines: articles/event-grid/includes/event-grid-create-namespace-topic-portal.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,16 @@
4
4
author: spelluru
5
5
ms.service: azure-event-grid
6
6
ms.topic: include
7
-
ms.date: 02/29/2024
7
+
ms.date: 06/25/2025
8
8
ms.author: spelluru
9
9
ms.custom: include file
10
10
---
11
11
12
12
## Create a namespace topic
13
13
14
14
1. If you aren't on the Event Grid Namespace page, follow the [create, view, and manage namespaces](../create-view-manage-namespaces.md) steps to view the namespace you want to use to create the topic.
15
-
1. On the **Event Grid Namespace** page, select**Topics** option in the **Event broker** section on the left menu.
16
-
1. On the **Topics** page, select **+ Topic** button on the command bar.
15
+
1. On the **Event Grid Namespace** page, under**Event broker**, select **Topics**.
Copy file name to clipboardExpand all lines: articles/event-grid/mqtt-routing-to-event-hubs-portal-namespace-topics.md
+25-23Lines changed: 25 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,25 @@
1
1
---
2
-
title: Use namespace topics to route MQTT messages to Event Hubs
2
+
title: 'Tutorial: Use namespace topics to route MQTT messages to Event Hubs'
3
3
description: 'This tutorial shows how to use namespace topics to route MQTT messages to Azure Event Hubs. You use Azure portal to do the tasks in this tutorial.'
4
4
ms.topic: tutorial
5
5
ms.custom:
6
6
- build-2023
7
7
- ignite-2023
8
-
ms.date: 02/29/2024
8
+
ms.date: 06/25/2025
9
9
author: george-guirguis
10
10
ms.author: geguirgu
11
11
ms.subservice: mqtt
12
+
#customer intent: As a developer working with the MQTT protocol, for instance, to support IoT, I want to route messages to Azure Event Hubs.
12
13
---
13
14
14
15
# Tutorial: Use namespace topics to route MQTT messages to Azure Event Hubs (Azure portal)
15
16
16
-
In this tutorial, you learn how to use a namespace topic to route data from MQTT clients to Azure Event Hubs. Here are the high-level steps:
17
+
In this tutorial, you learn how to use a namespace topic to route data from MQTT clients to Azure Event Hubs.
17
18
18
19
## Prerequisites
19
20
20
21
- If you don't have an Azure subscription, create an [Azure free account](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio) before you begin.
21
-
- If you're new to Event Grid, read the [Event Grid overview](../event-grid/overview.md) before you start this tutorial.
22
+
- If you're new to Event Grid, read the [Event Grid overview](../event-grid/overview.md) before you begin.
22
23
- Register the Event Grid resource provider according to the steps in [Register the Event Grid resource provider](custom-event-quickstart-portal.md#register-the-event-grid-resource-provider).
23
24
- Make sure that port **8883** is open in your firewall. The sample in this tutorial uses the MQTT protocol, which communicates over port 8883. This port might be blocked in some corporate and educational network environments.
24
25
@@ -38,12 +39,12 @@ In a separate tab of the Web browser or in a separate window, use the Azure port
38
39
39
40
## Give Event Grid namespace the access to send events to the event hub
40
41
41
-
1. On the **Event Hubs Namespace** page, select **Access control (IAM)** on the left menu.
42
-
1. On the **Access control** page, select **+ Add** on the command bar, and then select **Add role assignment**.
42
+
1. On the **Event Hubs Namespace** page, select **Access control (IAM)**.
43
+
1. On the **Access control** page, select **+ Add**, and then select **Add role assignment**.
43
44
44
45
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/event-hubs-access-control-add-role-assignment.png" alt-text="Screenshot that shows the Access control page for the Event Hubs namespace.":::
45
46
46
-
1. On the **Add role assignment** page, select **Azure Event Hubs Data Sender** from the list of roles, and then select **Next** at the bottom of the page.
47
+
1. On the **Add role assignment** page, from the list of roles, select **Azure Event Hubs Data Sender**, and then select **Next**.
47
48
48
49
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/select-azure-event-hubs-data-sender.png" alt-text="Screenshot that shows the Add role assignment page with Azure Event Hubs Data Sender selected.":::
49
50
@@ -56,55 +57,56 @@ In a separate tab of the Web browser or in a separate window, use the Azure port
56
57
57
58
1. On the **Select managed identities** page, follow these steps:
58
59
59
-
1. Select your **Azure subscription**.
60
+
1. Select your Azure subscription.
60
61
1. For **Managed identity**, select **Event Grid Namespace**.
61
62
1. Select the managed identity that has the same name as the Event Grid namespace.
62
-
1. Choose **Select** at the bottom of the page.
63
+
1. Choose **Select**.
63
64
64
65
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/select-event-grid-namespace-managed-identity.png" alt-text="Screenshot that shows the Select managed identities page with the Event Grid namespace's managed identity selected.":::
65
66
66
-
1. On the **Add role assignment** page, select **Review + assign** at the bottom of the page.
67
+
1. On the **Add role assignment** page, select **Review + assign**.
67
68
1. On the **Review + assign** page, select **Review + assign**.
68
69
69
70
## Create an event subscription with Event Hubs as the endpoint
70
71
71
72
1. Switch to the tab of your Web browser window that has the Event Grid namespace open.
72
-
1. On the **Event Grid Namespace** page, select **Topics** on the left menu.
73
+
1. On the **Event Grid Namespace** page, select **Topics**.
73
74
1. On the **Topics** page, select the namespace topic you created earlier.
74
75
75
76
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/select-topic.png" alt-text="Screenshot that shows the Topics page with the namespace topic selected.":::
76
77
77
-
1. On the **Event Grid Namespace Topic** page, select **+ Subscription** on the command bar at the top.
78
+
1. On the **Event Grid Namespace Topic** page, select **+ Subscription**.
78
79
79
80
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/subscriptions-page.png" alt-text="Screenshot that shows the Subscriptions page.":::
80
81
81
82
1. On the **Create Subscription** page, follow these steps:
82
-
1. Enter a **name** for the event subscription.
83
+
84
+
1. Enter a **Name** for the event subscription.
83
85
1. For **Delivery mode**, select **Push**.
84
-
1. Confirm that **Endpoint type** is set to **Event hub**.
86
+
1. Confirm that **Endpoint type** is set to **Event Hub**.
85
87
1. Select **Configure an endpoint**.
86
88
87
89
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/create-subscription-page.png" alt-text="Screenshot that shows the Create Subscription page.":::
88
90
89
91
1. On the **Select Event Hub**, follow these steps:
90
92
91
-
1. Select the **Azure subscription** that has the event hub.
92
-
1. Select the **resource group** that has the event hub.
93
-
1. Select the **Event Hubs namespace**.
94
-
1. Select the **event hub** in the Event Hubs namespace.
93
+
1. Select the Azure subscription that has the event hub.
94
+
1. Select the **Resource Group** that has the event hub.
95
+
1. Select the **Event Hubs Namespace**.
96
+
1. Select the **Event Hub** in the Event Hubs namespace.
95
97
1. Then, select **Confirm selection**.
96
98
97
99
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/select-event-hub-page.png" alt-text="Screenshot that shows the Select event hub page.":::
98
100
99
101
1. Back on the **Create Subscription** page, select **System Assigned** for **Managed identity type**.
100
-
1. Select **Create** at the bottom of the page.
102
+
1. Select **Create**.
101
103
102
104
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/create-subscription.png" alt-text="Screenshot that shows the Create Subscription page with Create button selected.":::
103
105
104
106
## Configure routing in the Event Grid namespace
105
107
106
108
1. Navigate back to the **Event Grid Namespace** page by selecting the namespace in the **Essentials** section of the **Event Grid Namespace Topic** page or by selecting the namespace name in the breadcrumb menu at the top.
107
-
1. On the **Event Grid Namespace** page, select**Routing** on the left menu in the **MQTT broker** section.
109
+
1. On the **Event Grid Namespace** page, under**MQTT broker**, select **Routing**.
108
110
1. On the **Routing** page, select **Enable routing**.
109
111
1. For **Topic type**, select **Namespace topic**.
110
112
1. For **Topic**, select the Event Grid namespace topic that you created where all MQTT messages are routed.
@@ -116,7 +118,7 @@ In a separate tab of the Web browser or in a separate window, use the Azure port
116
118
117
119
## Create clients, topic space, and permission bindings
118
120
119
-
Follow steps in the quickstart: [Publish and subscribe on an MQTT topic](./mqtt-publish-and-subscribe-portal.md) to:
121
+
Follow steps in this quickstart: [Publish and subscribe on an MQTT topic](./mqtt-publish-and-subscribe-portal.md) to:
120
122
121
123
1. Create a client. You can create the second client if you want to, but it's optional.
122
124
1. Create a topic space.
@@ -128,10 +130,10 @@ Follow steps in the quickstart: [Publish and subscribe on an MQTT topic](./mqtt-
128
130
129
131
## View routed MQTT messages in Event Hubs by using a Stream Analytics query
130
132
131
-
Navigate to the Event Hubs instance (event hub) within your event subscription in the Azure portal. Process data from your event hub by using Stream Analytics. For more information, see [Process data from your event hub using Azure Stream Analytics](../event-hubs/process-data-azure-stream-analytics.md). You can see the MQTT messages in the query.
133
+
Navigate to the Event Hubs instance (event hub) in your event subscription in the Azure portal. Process data from your event hub by using Stream Analytics. For more information, see [Process data from your event hub using Azure Stream Analytics](../event-hubs/process-data-azure-stream-analytics.md). You can see the MQTT messages in the query.
132
134
133
135
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal/view-data-in-event-hub-instance-using-azure-stream-analytics-query.png" alt-text="Screenshot that shows the MQTT messages data in Event Hubs by using the Stream Analytics query tool.":::
134
136
135
-
## Next steps
137
+
## Next step
136
138
137
139
For code samples, go to the [MqttApplicationSamples GitHub repository](https://github.com/Azure-Samples/MqttApplicationSamples/tree/main).
description: This article shows you how to create an event hub in an Event Hubs namespace in the Azure portal.
4
4
author: spelluru
5
5
ms.topic: include
6
-
ms.date: 02/29/2024
6
+
ms.date: 06/25/2025
7
7
ms.author: spelluru
8
8
---
9
9
10
10
## Create an event hub
11
11
12
12
To create an event hub within the namespace, do the following actions:
13
13
14
-
1. On the **Overview** page, select **+ Event hub** on the command bar.
14
+
1. On the **Overview** page, select **+ Event hub**.
15
15
16
16
:::image type="content" source="./media/create-event-hub/create-event-hub4.png" alt-text="Screenshot of the selection of Add event hub button on the command bar.":::
Copy file name to clipboardExpand all lines: articles/event-hubs/includes/create-event-hubs-namespace.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,13 @@ description: This article shows you how to create an Event Hubs namespace in the
4
4
author: spelluru
5
5
ms.service: azure-event-hubs
6
6
ms.topic: include
7
-
ms.date: 02/29/2024
7
+
ms.date: 06/25/2025
8
8
ms.author: spelluru
9
9
---
10
10
11
11
## Create an Event Hubs namespace
12
12
13
-
An Event Hubs namespace provides a unique scoping container, in which you create one or more event hubs. To create a namespace in your resource group using the portal, do the following actions:
13
+
An Event Hubs namespace provides a unique scoping container in which you create event hubs. To create a namespace in your resource group using the portal:
14
14
15
15
1. In the Azure portal, from the flyout menu, select **All services**. In the **All services** page, search for and select **Event Hubs**.
16
16
@@ -26,13 +26,18 @@ An Event Hubs namespace provides a unique scoping container, in which you create
26
26
1. Select the **Resource group** you created in the previous step.
27
27
1. Enter a name for the namespace. The system immediately checks to see if the name is available.
28
28
1. Select a **Region** for the namespace.
29
-
1. Choose **Basic** for the **pricing tier**. If you plan to use the namespace from **Apache Kafka** apps, use the **Standard** tier. The basic tier doesn't support Apache Kafka workloads. To learn about differences between tiers, see [Quotas and limits](../event-hubs-quotas.md), [Event Hubs Premium](../event-hubs-premium-overview.md), and [Event Hubs Dedicated](../event-hubs-dedicated-overview.md) articles.
30
-
1. Leave the **throughput units** (for standard tier) or **processing units** (for premium tier) settings as it is. To learn about throughput units or processing units: [Event Hubs scalability](../event-hubs-scalability.md).
31
-
1. Select **Review + Create** at the bottom of the page.
29
+
1. For the pricing tier, choose **Basic**.
30
+
31
+
> [!NOTE]
32
+
> If you plan to use the namespace from **Apache Kafka** apps, use the **Standard** tier. The basic tier doesn't support Apache Kafka workloads. To learn about differences between tiers, see [Quotas and limits](../event-hubs-quotas.md), [Event Hubs Premium](../event-hubs-premium-overview.md), and [Event Hubs Dedicated](../event-hubs-dedicated-overview.md) articles.
33
+
34
+
1. Leave the **throughput units** (for standard tier) or **processing units** (for premium tier) settings as it is. To learn about throughput units or processing units, see [Event Hubs scalability](../event-hubs-scalability.md).
35
+
1. Select **Review + Create**.
32
36
33
37
:::image type="content" source="./media/create-event-hubs-namespace/create-event-hub1.png" alt-text="Screenshot of the Create Namespace page in the Azure portal.":::
34
38
35
39
1. On the **Review + Create** page, review the settings, and select **Create**. Wait for the deployment to complete.
40
+
36
41
1. On the **Deployment** page, select **Go to resource** to navigate to the page for your namespace.
37
42
38
43
:::image type="content" source="./media/create-event-hubs-namespace/deployment-complete.png" alt-text="Screenshot of the Deployment complete page with the link to resource.":::
0 commit comments