Skip to content

Commit 23ddef0

Browse files
authored
Merge pull request #313527 from spelluru/egridupdtes0323
Event Grid Updates
2 parents d0a55df + f2bad32 commit 23ddef0

4 files changed

Lines changed: 102 additions & 98 deletions

File tree

articles/event-grid/authenticate-with-namespaces-using-webhook-authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Content-Type: application/json
184184
#### Denied response
185185

186186
```json
187-
HTTP/1.1 400 Bad Request
187+
HTTP/1.1 200 Bad Request
188188
Content-Type: application/json
189189

190190
{

articles/event-grid/includes/limits.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ Throughput units define the ingress and egress event rate capacity in namespaces
4646
| Inbound MQTT publishing requests per session | 1,000 messages per second |
4747
| Inbound MQTT bandwidth per session | 1 MB per second |
4848
| Inbound in-flight MQTT messages* | 1,000 messages |
49-
| Inbound in-flight MQTT bandwidth* | 64 KB |
50-
| Inbound HTTP publishing requests per Event Grid namespace | 500 messages per second per TU |
51-
| Inbound HTTP bandwidth per Event Grid namespace | 512 KB per second per TU |
52-
| Inbound HTTP publishing requests per session | 500 messages per second |
53-
| Inbound HTTP bandwidth per session | 512 KB per second |
54-
| Inbound in-flight HTTP messages* | 500 messages |
49+
| Inbound MQTT/HTTP publishing requests per Event Grid namespace | 1,000 messages per second per TU |
50+
| Inbound MQTT/HTTP bandwidth per Event Grid namespace | 1 MB per second per TU |
51+
| Inbound MQTT/HTTP publishing requests per session | 1,000 messages per second |
52+
| Inbound MQTT/HTTP bandwidth per session | 1 MB per second |
53+
| Inbound in-flight MQTT/HTTP messages* | 1,000 messages |
54+
| Inbound in-flight MQTT/HTTP bandwidth* | 64 KB |
5555
| Maximum Retain message size** | 64 KB |
5656
| Maximum Retain message per TU | 10,000 messages or 640 MB (whichever is reached first) |
5757
| Total Retain storage per TU | 640 MB |
58-
| Retain message expiry (MQTT 3.1.1) | 365 days (default) |
58+
| Retain message expiry (MQTT 3.1.1) | 365 days (default). To configure a Retain Expiry less than 365 days, contact Microsoft at [[email protected]](mailto:[email protected]) |
5959
| Retain message expiry (MQTT 5.0) | Configurable by using the message expiry interval with a range of 0 to 31,536,000 seconds (365 days) |
6060
| Outbound MQTT publishing requests per Event Grid namespace | 1,000 messages per second per TU |
6161
| Outbound MQTT bandwidth per Event Grid namespace | 1 MB per second per TU |

articles/event-grid/mqtt-how-to-http-publish.md

Lines changed: 93 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ Save this token to use in the `Authorization: Bearer <TOKEN>` header.
4848
Here's an example curl command to simulate HTTP Publish:
4949

5050
```http
51-
curl -X POST "https://contoso.westus3-1.ts.eventgrid.azure.net/mqtt/messages?topic=devices%2XXXX-0000%2Fprompt&api-version=2025-08-01-preview" \
52-
-H "Authorization: Bearer <ENTRA_TOKEN_HERE>" \
53-
-H "mqtt-qos: 1" \
54-
-H "mqtt-retain: 0" \
55-
-H "mqtt-response-topic: devices%2XXXX-00000%2Freply" \
56-
-H "mqtt-correlation-data: XXXXXXX" \
57-
-H "mqtt-user-properties: XXXXXXXXXXXX" \
58-
-H "Content-Type: text/plain;charset=UTF-8" \
51+
curl -X POST "https://contoso.westus3-1.ts.eventgrid.azure.net/mqtt/messages?topic=devices%2XXXX-0000%2Fprompt&api-version=2025-02-15-preview" \
52+
-H "Authorization: Bearer <ENTRA_TOKEN_HERE>" \
53+
-H "mqtt-qos: 1" \
54+
-H "mqtt-retain: 0" \
55+
-H "mqtt-response-topic: devices%2XXXX-00000%2Freply" \
56+
-H "mqtt-correlation-data: XXXXXXX" \
57+
-H "mqtt-user-properties: XXXXXXXXXXXX" \
58+
-H "Content-Type: text/plain;charset=UTF-8" \
5959
--data-raw "Please accept terms of licensing and agreement"
6060
```
6161

@@ -73,88 +73,92 @@ In this sample command:
7373
1. Select **Import Collection**, and then select `EventGrid_HTTP_Publish_Postman_Collection.json`. Here's the content for the JSON file:
7474

7575
```json
76-
{
77-
"info": {
78-
"name": "Event Grid MQTT Broker - HTTP Publish",
79-
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
80-
},
81-
"item": [
82-
{
83-
"name": "HTTP Publish to MQTT Broker",
84-
"request": {
85-
"method": "POST",
86-
"header": [
87-
{
88-
"key": "Authorization",
89-
"value": "Bearer {{entra_token}}"
90-
},
91-
{
92-
"key": "mqtt-qos",
93-
"value": "1"
94-
},
95-
{
96-
"key": "mqtt-retain",
97-
"value": "0"
98-
},
99-
{
100-
"key": "mqtt-response-topic",
101-
"value": "devices%2FCXa-23112%2Freply"
102-
},
103-
{
104-
"key": "mqtt-correlation-data",
105-
"value": "PlXCscK2wrbCuy8="
106-
},
107-
{
108-
"key": "mqtt-user-properties",
109-
"value": "[{\"Urgency\":\"alert\"},{\"RequestId\":\"55f4a7ee-b0b4-4d7f-8eb5-2edba2ced5d7\"}]"
110-
},
111-
{
112-
"key": "Content-Type",
113-
"value": "text/plain;charset=UTF-8"
114-
}
76+
{
77+
78+
"info": {
79+
"name": "Event Grid MQTT Broker - HTTP Publish",
80+
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
81+
},
82+
"item": [
83+
{
84+
"name": "HTTP Publish to MQTT Broker",
85+
"request": {
86+
"method": "POST",
87+
"header": [
88+
{
89+
"key": "Authorization",
90+
"value": "Bearer {{entra_token}}"
91+
},
92+
{
93+
"key": "mqtt-qos",
94+
"value": "1"
95+
},
96+
{
97+
"key": "mqtt-retain",
98+
"value": "0"
99+
},
100+
{
101+
"key": "mqtt-response-topic",
102+
"value": "devices%2FCXa-23112%2Freply"
103+
},
104+
{
105+
"key": "mqtt-correlation-data",
106+
"value": "PlXCscK2wrbCuy8="
107+
},
108+
{
109+
110+
"key": "mqtt-user-properties",
111+
"value": "[{\"Urgency\":\"alert\"},{\"RequestId\":\"55f4a7ee-b0b4-4d7f-8eb5-2edba2ced5d7\"}]"
112+
},
113+
{
114+
115+
"key": "Content-Type",
116+
"value": "text/plain;charset=UTF-8"
117+
}
115118
],
116-
"url": {
117-
"raw": "https://{{namespace}}/mqtt/messages?topic={{topic}}&api-version=2025-08-01-preview",
118-
"host": [
119-
"{{namespace}}"
120-
],
121-
"path": [
122-
"mqtt",
123-
"messages"
124-
],
125-
"query": [
126-
{
127-
"key": "topic",
128-
"value": "{{topic}}"
129-
},
130-
{
131-
"key": "api-version",
132-
"value": "2025-02-15-preview"
133-
}
134-
]
135-
},
136-
"body": {
137-
"mode": "raw",
138-
"raw": "Please accept terms of licensing and agreement"
139-
}
140-
}
141-
}
142-
],
143-
"variable": [
144-
{
145-
"key": "namespace",
146-
"value": "contoso.westus3-1.ts.eventgrid.azure.net"
147-
},
148-
{
149-
"key": "topic",
150-
"value": "devices/CXa-23112/prompt"
151-
},
152-
{
153-
"key": "entra_token",
154-
"value": "<ENTRA_TOKEN_HERE>"
155-
}
156-
]
157-
}
119+
120+
"url": {
121+
"raw": "https://{{namespace}}/mqtt/messages?topic={{topic}}&api-version=2025-02-15-preview",
122+
"host": [
123+
"{{namespace}}"
124+
],
125+
"path": [
126+
"mqtt",
127+
"messages"
128+
],
129+
"query": [
130+
{
131+
"key": "topic",
132+
"value": "{{topic}}"
133+
},
134+
{
135+
"key": "api-version",
136+
"value": "2025-02-15-preview"
137+
}
138+
]
139+
},
140+
"body": {
141+
"mode": "raw",
142+
"raw": "Please accept terms of licensing and agreement"
143+
}
144+
}
145+
}
146+
],
147+
"variable": [
148+
{
149+
"key": "namespace",
150+
"value": "contoso.westus3-1.ts.eventgrid.azure.net"
151+
},
152+
{
153+
"key": "topic",
154+
"value": "devices/CXa-23112/prompt"
155+
},
156+
{
157+
"key": "entra_token",
158+
"value": "<ENTRA_TOKEN_HERE>"
159+
}
160+
]
161+
}
158162
```
159163

160164
1. On the **Variables** tab:

articles/event-grid/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ The new MQTT broker and namespace topics features are available in the following
137137
| South India | Southeast Asia | Spain Central | Sweden Central |
138138
| Sweden South | Switzerland North | Switzerland West | UAE North |
139139
| UAE Central | UK South | UK West | West Europe |
140-
| West US 2 | West US 3 | West Central US |
140+
| West US 2 | West US 3 | West Central US | Belgium central |
141141

142142
## Related content
143143

0 commit comments

Comments
 (0)