Skip to content

Commit 1cfce5f

Browse files
Venkata YaddanapudiVenkata Yaddanapudi
authored andcommitted
tutorial changes
1 parent 8161191 commit 1cfce5f

File tree

3 files changed

+24
-4
lines changed

3 files changed

+24
-4
lines changed

articles/event-grid/mqtt-publish-and-subscribe-portal.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ If you don't already have a certificate, you can create a sample certificate usi
9595
1. Go to Topic spaces page under MQTT section.
9696
2. On the Topic spaces page, select **+ Topic space** on the toolbar.
9797
3. Provide a name for the topic space.
98-
4. Select + Add topic template to add the topic template contosotopics/topic1.
98+
4. Select **+ Add topic template** to add the topic template contosotopics/topic1.
9999
100100
:::image type="content" source="./media/mqtt-publish-and-subscribe-portal/create-topic-space.png" alt-text="Screenshot of topic space configuration.":::
101101
5. Select **Create** to create the topic space.
@@ -105,9 +105,9 @@ If you don't already have a certificate, you can create a sample certificate usi
105105
1. Go to Permission bindings page under MQTT section.
106106
2. On the Permission bindings page, select **+ Permission binding** on the toolbar.
107107
3. Configure the permission binding as follows:
108-
1. Provide a name for the permission binding
108+
1. Provide a name for the permission binding.
109109
2. Select the client group name as $all.
110-
3. Select the Topic space name as Topicspace1.
110+
3. For Topic space name, select the topic space you created in the previous step.
111111
4. Grant Publisher permission to the client group on the topic space.
112112
113113
:::image type="content" source="./media/mqtt-publish-and-subscribe-portal/create-permission-binding-1.png" alt-text="Screenshot showing creation of first permission binding.":::

articles/event-grid/mqtt-routing-to-event-hubs-cli.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ az eventgrid event-subscription create --name contosoEventSubscription \
6161
--event-delivery-schema cloudeventschemav1_0
6262
```
6363

64+
> [!NOTE]
65+
> **Routing Event Grid topic considerations:**
66+
> The Event Grid topic that is used for routing has to fulfill following requirements:
67+
> - It needs to be set to use the Cloud Event Schema v1.0.
68+
> - It needs to be in the same region as the namespace.
69+
> - You need to assign "EventGrid Data Sender" role to yourself on the Event Grid Topic.
70+
71+
6472
## Configure routing in the Event Grid Namespace
6573
- Save the Namespace object in namespace.json file in resources folder.
6674

articles/event-grid/mqtt-routing-to-event-hubs-portal.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,24 @@ In this tutorial, you perform the following tasks:
5252
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal/event-grid-namespace-routing-configuration.png" alt-text="Screenshot showing the Event Grid routing configuration page to enable routing for the namespace.":::
5353
2. Select **Enable routing**
5454
3. Under Topic, select the Event Grid topic that you have created where all MQTT messages will be routed.
55-
- This topic needs to fulfill the Event Grid topic requirements for routing.
5655

5756
:::image type="content" source="./media/mqtt-routing/routing-portal-configuration.png" alt-text="Screenshot showing the routing configuration through the portal.":::
5857

5958
4. Select **Apply**
6059

60+
> [!NOTE]
61+
> **Routing Event Grid topic considerations:**
62+
> The Event Grid topic that is used for routing has to fulfill following requirements:
63+
> - It needs to be set to use the Cloud Event Schema v1.0.
64+
> - It needs to be in the same region as the namespace.
65+
> - You need to assign "EventGrid Data Sender" role to yourself on the Event Grid Topic.
66+
>
67+
> **Configuration**
68+
> - Go to the Event Grid topic resource.
69+
> - In the "Access control (IAM)" menu item, select **Add role assignment**.
70+
> - In the "Role" tab, select "EventGrid Data Sender", then select **Next**.
71+
> - In the "Members" tab, click on **+ Select members**, then type your AD user name in the "Select" box that will appear (e.g. [email protected]).
72+
> - Select your AD user name, then select **Review + assign**.
6173
6274
## Viewing the routed MQTT messages in Azure Event Hubs using Azure Stream Analytics query
6375

0 commit comments

Comments
 (0)