Skip to content

Commit 116be4c

Browse files
authored
Made edits per Acrolinx's suggestions
1 parent f32aba7 commit 116be4c

File tree

4 files changed

+17
-20
lines changed

4 files changed

+17
-20
lines changed

articles/azure-web-pubsub/howto-mqtt-pubsub-among-mqtt-clients.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: PubSub among MQTT clients
2+
title: PubSub among MQTT web clients
33
titleSuffix: Azure Web PubSub
44
description: A how-to guide that shows to how to subscribe to messages on a topic and send messages to a topic without the involvement of a typical application server
55
author: Y-Sindo
@@ -8,7 +8,7 @@ ms.service: azure-web-pubsub
88
ms.topic: how-to
99
ms.date: 10/17/2024
1010
---
11-
# Publish/subscribe among MQTT clients
11+
# Publish/subscribe among MQTT web clients
1212
:::image type="content" source="media/quickstarts-pubsub-among-clients/among-clients.gif" alt-text="GIF of pub/sub among clients without an application server.":::
1313

1414
This quickstart guide demonstrates how to
@@ -18,9 +18,9 @@ This quickstart guide demonstrates how to
1818
> * **publish** messages to a topic
1919
2020
## Prerequisites
21-
- A Web PubSub resource. If you haven't created one, you can follow the guidance: [Create a Web PubSub resource](./howto-develop-create-instance.md)
21+
- A Web PubSub resource. To created one, you can follow the guidance: [Create a Web PubSub resource](./howto-develop-create-instance.md)
2222
- A code editor, such as Visual Studio Code
23-
- Install the dependencies for the language you plan to use
23+
- Dependencies for the language you plan to use
2424

2525
> [!NOTE]
2626
> Except for the MQTT client libraries mentioned belows, you can choose any standard MQTT client libraries that meet the following requirements to connect to Web PubSub:
@@ -209,7 +209,7 @@ client.loop_forever()
209209
---
210210

211211
## Publish a message to a group
212-
In the previous step, we've set up everything needed to receive messages from `group1`, now we send messages to that group.
212+
In the previous step, we set up everything needed to receive messages from `group1`, now we send messages to that group.
213213

214214
# [JavaScript](#tab/javascript)
215215

articles/azure-web-pubsub/overview-mqtt.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,20 @@ ms.date: 10/17/2024
88
ms.service: azure-web-pubsub
99
ms.topic: overview
1010
---
11-
# Overview: MQTT in Azure Web PubSub service (Preview)
11+
# MQTT in Azure Web PubSub service (Preview)
1212

1313
> [!NOTE]
1414
> MQTT support in Azure Web PubSub is in preview stage.
1515
16+
## Overview
1617
[MQTT](https://mqtt.org/) is a lightweight pub/sub messaging protocol designed for devices with constrained resources. Azure Web PubSub service now natively supports MQTT over WebSocket transport, enabling cross-communication between MQTT web clients and other Web PubSub clients
1718

1819
This new capability addresses two key use cases:
19-
2020
1. Real-time applications with mixed protocols: You can allow clients using different protocols to exchange data in real-time through Azure Web PubSub service.
2121

22-
2. Support for additional programming languages: You can use any MQTT library to connect with the service, making it possible to integrate with applications written in languages like C++, beyond the available SDKs in C#, JavaScript, Python, and Java.
23-
24-
It’s important to note that this MQTT support is a lightweight adaptation of the MQTT protocol and extends only to the features already supported by Azure Web PubSub. Some MQTT features that are not supported include:
22+
2. Support for more programming languages: You can use any MQTT library to connect with the service, making it possible to integrate with applications written in languages like C++, beyond the available SDKs in C#, JavaScript, Python, and Java.
2523

24+
It’s important to note that this MQTT support is a lightweight adaptation of the MQTT protocol and extends only to the features already supported by Azure Web PubSub. Some MQTT features that aren't supported include:
2625
- Wildcard subscriptions
2726
- Retained messages
2827
- Shared subscriptions
@@ -42,14 +41,14 @@ For a more comprehensive MQTT broker solution on Azure, we recommend exploring [
4241
> [!NOTE]
4342
> This section assumes you have basic knowledge about MQTT protocols and Azure Web PubSub.
4443
45-
Azure Web PubSub service now recognizes MQTT messages and translates them to its native protocols. The following table shows similar or equivalent term mappings between MQTT and Web PubSub. It helps you understand how we adapt MQTT concepts into the concepts found in Web PubSub It's essential if you want to use the [data-plane REST API](./reference-rest-api-data-plane.md) or [client event handlers](./howto-develop-eventhandler.md) to interact with MQTT clients.
44+
Azure Web PubSub service now recognizes MQTT messages and translates them to its native protocols. The following table shows similar or equivalent term mappings between MQTT and Web PubSub. It helps you understand how we adapt MQTT concepts into those found in Web PubSub. It's essential if you want to use the [data-plane REST API](./reference-rest-api-data-plane.md) or [client event handlers](./howto-develop-eventhandler.md) to interact with MQTT web clients.
4645

4746
[!INCLUDE [MQTT-Term-Mappings](includes/mqtt-term-mappings.md)]
4847

4948
## Next step
5049

51-
> [!div class="nextstepaction"]
52-
> [Quickstart: Pub/Sub among MQTT clients](./quickstarts-pubsub-among-mqtt-clients.md)
53-
5450
> [!div class="nextstepaction"]
5551
> [How To Connect MQTT Clients to Web PubSub](./howto-connect-mqtt-websocket-client.md)
52+
> [!div class="nextstepaction"]
53+
> [Quickstart: Pub/Sub among MQTT clients](./howto-mqtt-pubsub-among-mqtt-clients.md)
54+

articles/azure-web-pubsub/reference-mqtt-support-status.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,24 @@ ms.topic: reference
1010
---
1111
# MQTT feature support status in Azure Web PubSub service
1212

13-
Azure Web PubSub service supports MQTT protocol by translateing MQTT messages into its native protocol, enabling cross-communication between MQTT web clients and other Web PubSub clients. Since the MQTT support is a lightweight adaptation of the MQTT protocol, it extends only to the features already supported by Azure Web PubSub service. Refer to the list below for what's supported and not supported.
13+
Azure Web PubSub service supports MQTT protocol by translating MQTT messages into its native protocol, enabling cross-communication between MQTT web clients and other Web PubSub clients. Since the MQTT support is a lightweight adaptation of the MQTT protocol, it extends only to the features already supported by Azure Web PubSub service. Refer to the list for what's supported and not supported.
1414

1515
## Feature support for MQTT version 3.1.1 and 5.0
1616
Azure Web PubSub support MQTT protocol version 3.1.1 and 5.0. The supported features include but not limited to:
1717

1818
- All the levels of Quality Of Service including at most once, at least once and exactly once.
19-
- Persistent session. MQTT sessions are preserved for up to 30 seconds when client connections are interrupted and restored when the client re-establishes a connection with the service. Note that beyond 30 seconds, the service makes no guarantee that the session is restored.
19+
- Persistent session. MQTT sessions are preserved for up to 30 seconds when client connections are interrupted and restored when the client re-establishes a connection with the service. Beyond 30 seconds, the service makes no guarantee that the disrupted session is restored.
2020
- Last will & testament
2121
- Client certificate authentication
2222

23-
## Additional features supported for MQTT 5.0
24-
23+
## More features supported for MQTT 5.0
2524
- Message expiry interval and session expiry interval
2625
- Subscription identifier
2726
- Assigned client ID
2827
- Flow control
2928
- Server-sent disconnect
3029

3130
## Not supported features
32-
3331
- Wildcard subscription
3432
- Retained messages
3533
- Topic alias

articles/azure-web-pubsub/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
- name: Overview
147147
href: overview-mqtt.md
148148
- name: Quickstart for MQTT users
149-
href: quickstarts-pubsub-among-mqtt-clients.md
149+
href: howto-mqtt-pubsub-among-mqtt-clients.md
150150
- name: Tutorials
151151
expanded: true
152152
items:

0 commit comments

Comments
 (0)