Skip to content

Commit 6974e01

Browse files
committed
fix(mnq): bugs
1 parent d155467 commit 6974e01

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

serverless/messaging/concepts.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ A NATS account sets a scope for any NATS credentials, messages, queues and strea
7373

7474
## Protocol
7575

76-
See [#messaging-protocol].
76+
See [messaging protocol](#messaging-protocol).
7777

7878
## Publish/Subscribe
7979

@@ -147,10 +147,10 @@ A subscription protocol refers to the communication method used to deliver messa
147147

148148
| Protocol | Endpoint / Client | Note |
149149
|-------------------------------------|--------------------------------------------------|-----------------------------------|
150-
| HTTP | The URL of a service or web server that can receive notifications (HTTP POST requests) from SNS, e.g. `http://example.fr` | - For security reasons, we recommend using the HTTPS protocol rather than HTTP. <br /> - HTTP subscriptions must be [confirmed](/serverless/messaging/how-to/create-manage-subscriptions/#how-to-confirm-an-http-or-https-subscription) after creation |
151-
| HTTPS | The URL of a service or web server that can receive notifications (HTTPS POST requests) from SNS, e.g. `https://example.fr` | - HTTPS subscriptions must be [confirmed](/serverless/messaging/how-to/create-manage-subscriptions/#how-to-confirm-an-http-or-https-subscription) after creation |
152-
| Serverless Functions and Containers | A Scaleway Serverless [Function](/serverless/functions/quickstart/) or [Container](/serverless/containers/quickstart/) <br /> | - It must have a [public](/serverless/functions/concepts/#privacy-policy) privacy policy <br /> - It must be in a [namespace](/serverless/functions/concepts/#namespace) from the same [Project](/identity-and-access-management/organizations-and-projects/concepts/#project) and [region](#region) as the SNS topic |
153-
| Queue | A Scaleway [queue](#queue) <br /> | - It must be in the same [Project](/identity-and-access-management/organizations-and-projects/concepts/#project) and [region](#region) as the topic |
150+
| HTTP | The URL of a service or web server that can receive notifications (HTTP POST requests) from Topics and Events, e.g. `http://example.fr` | - For security reasons, we recommend using the HTTPS protocol rather than HTTP. <br /> - HTTP subscriptions must be [confirmed](/serverless/messaging/how-to/create-manage-subscriptions/#how-to-confirm-an-http-or-https-subscription) after creation |
151+
| HTTPS | The URL of a service or web server that can receive notifications (HTTPS POST requests) from Topics and Events, e.g. `https://example.fr` | - HTTPS subscriptions must be [confirmed](/serverless/messaging/how-to/create-manage-subscriptions/#how-to-confirm-an-http-or-https-subscription) after creation |
152+
| Serverless Functions and Containers | A Scaleway Serverless [Function](/serverless/functions/quickstart/) or [Container](/serverless/containers/quickstart/) <br /> | - It must have a [public](/serverless/functions/concepts/#privacy-policy) privacy policy <br /> - It must be in a [namespace](/serverless/functions/concepts/#namespace) from the same [Project](/identity-and-access-management/organizations-and-projects/concepts/#project) and [region](#region) as the topic |
153+
| Queues | A Scaleway [queue](#queue) <br /> | - It must be in the same [Project](/identity-and-access-management/organizations-and-projects/concepts/#project) and [region](#region) as the topic |
154154

155155
## Topic
156156

serverless/messaging/how-to/create-manage-subscriptions.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This page shows how to create and manage [subscriptions](/serverless/messaging/c
3030
3. Click the name of the topic you want to create a subscription for.
3131

3232
4. Click **Create Subscription**. The subscription creation wizard displays.
33-
<Lightbox src="scaleway-topics-create-subs.webp" alt="In the Scaleway console, the Create a Subscription screen displays. The different sections of the screen are described in the steps below">
33+
<Lightbox src="scaleway-topics-create-subs.webp" alt="In the Scaleway console, the Create a Subscription screen displays. The different sections of the screen are described in the steps below" />
3434

3535
5. Verify the parameters of the topic that you are creating a subscription for (name, type and).
3636

@@ -39,7 +39,7 @@ This page shows how to create and manage [subscriptions](/serverless/messaging/c
3939
<Tabs id="messaging-subscription-protocol">
4040
<TabsTab label="HTTP">
4141
<br />
42-
Select **HTTP** to create a subscription for a service or web server that can receive `HTTP POST` requests from SNS, via standard HTTP protocol.
42+
Select **HTTP** to create a subscription for a service or web server that can receive `HTTP POST` requests from Topics and Events, via standard HTTP protocol.
4343

4444
Note that for security reasons, we recommend using the HTTPS protocol, rather than HTTP.
4545

@@ -50,7 +50,7 @@ This page shows how to create and manage [subscriptions](/serverless/messaging/c
5050
</TabsTab>
5151
<TabsTab label="HTTPS">
5252
<br />
53-
Select **HTTPS** to create a subscription for a service or web server that can receive `HTTP POST` requests from SNS, via secure HTTP protocol.
53+
Select **HTTPS** to create a subscription for a service or web server that can receive `HTTP POST` requests from Topics and Events, via secure HTTP protocol.
5454

5555
You are prompted to enter the URL of the HTTP endpoint to subscribe, e.g. `example.com`. Note that the scheme (`https://`) is not required.
5656

@@ -60,15 +60,15 @@ This page shows how to create and manage [subscriptions](/serverless/messaging/c
6060
<br />
6161
Choose **Serverless Functions and Containers** to create a subscription for a Scaleway Serverless Function or Container that you have created.
6262

63-
You are prompted to select the **namespace** containing the Function or Container that you want to subscribe. Only namespaces in the same [Project](/identity-and-access-management/organizations-and-projects/concepts/#project) and [region](/serverless/messaging/concepts/#region) as the SNS topic can be selected.
63+
You are prompted to select the **namespace** containing the Function or Container that you want to subscribe. Only namespaces in the same [Project](/identity-and-access-management/organizations-and-projects/concepts/#project) and [region](/serverless/messaging/concepts/#region) as the topic can be selected.
6464

65-
You are prompted to select the Serverless Function or Container to subscribe. Only Functions and Containers with a public [privacy policy](/serverless/functions/concepts/#privacy-policy) can subscribe to an SNS topic.
65+
You are prompted to select the Serverless Function or Container to subscribe. Only Functions and Containers with a public [privacy policy](/serverless/functions/concepts/#privacy-policy) can subscribe to an topic.
6666
</TabsTab>
6767
<TabsTab label="Queues">
6868
<br />
69-
Choose **Queues** to create a subscription for a Scaleway Queue that you have created.
69+
Choose **Queues** to create a subscription for a Scaleway queue that you have created.
7070

71-
You are prompted to select the **queue** to subscribe. Only queues in the same [Project](/identity-and-access-management/organizations-and-projects/concepts/#project) and [region](/serverless/messaging/concepts/#region) as the SNS topic can be selected.
71+
You are prompted to select the **queue** to subscribe. Only queues in the same [Project](/identity-and-access-management/organizations-and-projects/concepts/#project) and [region](/serverless/messaging/concepts/#region) as the topic can be selected.
7272
</TabsTab>
7373
</Tabs>
7474

@@ -84,7 +84,7 @@ An HTTP or HTTPS subscription will have a `Pending` status until you **confirm**
8484

8585
2. Click the <Icon name="more" /> icon next to the subscription you wish to confirm, then select **Confirm subscription** from the menu. A pop-up displays:
8686

87-
<Lightbox src="scaleway-topics-confirmation.webp" alt="In the Scaleway console, a pop-up displays saying 'A subscription confirmation message has been sent to the subscription endpoint. Retrieve the SubscribeURL value from the message and enter it in the box below. This is a necessary step to start receiving messages from the topic.' />
87+
<Lightbox src="scaleway-topics-confirmation.webp" alt="In the Scaleway console, a pop-up displays saying 'A subscription confirmation message has been sent to the subscription endpoint. Retrieve the SubscribeURL value from the message and enter it in the box below. This is a necessary step to start receiving messages from the topic'." />
8888

8989
3. Retrieve the confirmation message that Scaleway Topics and Events sent to your endpoint (delivered as an `HTTP POST` request), and extract the `SubscribeURL` from the message payload.
9090

serverless/messaging/quickstart.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ You are returned to the **Topics** tab, where your newly-created topic now displ
228228
3. Click the name of the topic you want to create a subscription for.
229229

230230
4. Click **Create Subscription**. The subscription creation wizard displays.
231-
<Lightbox src="scaleway-topics-create-subs.webp" alt="In the Scaleway console, the Create a Subscription screen displays. The different sections of the screen are described in the steps below">
231+
<Lightbox src="scaleway-topics-create-subs.webp" alt="In the Scaleway console, the Create a Subscription screen displays. The different sections of the screen are described in the steps below" />
232232

233233
5. Verify the parameters of the topic that you are creating a subscription for (name, type and).
234234

@@ -237,7 +237,7 @@ You are returned to the **Topics** tab, where your newly-created topic now displ
237237
<Tabs id="messaging-subscription-protocol">
238238
<TabsTab label="HTTP">
239239
<br />
240-
Select **HTTP** to create a subscription for a service or web server that can receive `HTTP POST` requests from SNS, via standard HTTP protocol.
240+
Select **HTTP** to create a subscription for a service or web server that can receive `HTTP POST` requests from Topics and Events, via standard HTTP protocol.
241241

242242
Note that for security reasons, we recommend using the HTTPS protocol, rather than HTTP.
243243

@@ -248,7 +248,7 @@ You are returned to the **Topics** tab, where your newly-created topic now displ
248248
</TabsTab>
249249
<TabsTab label="HTTPS">
250250
<br />
251-
Select **HTTPS** to create a subscription for a service or web server that can receive `HTTP POST` requests from SNS, via secure HTTP protocol.
251+
Select **HTTPS** to create a subscription for a service or web server that can receive `HTTP POST` requests from Topics and Events, via secure HTTP protocol.
252252

253253
You are prompted to enter the URL of the HTTP endpoint to subscribe, e.g. `example.com`. Note that the scheme (`https://`) is not required.
254254

@@ -258,15 +258,15 @@ You are returned to the **Topics** tab, where your newly-created topic now displ
258258
<br />
259259
Choose **Serverless Functions and Containers** to create a subscription for a Scaleway Serverless Function or Container that you have created.
260260

261-
You are prompted to select the **namespace** containing the Function or Container that you want to subscribe. Only namespaces in the same [Project](/identity-and-access-management/organizations-and-projects/concepts/#project) and [region](/serverless/messaging/concepts/#region) as the SNS topic can be selected.
261+
You are prompted to select the **namespace** containing the Function or Container that you want to subscribe. Only namespaces in the same [Project](/identity-and-access-management/organizations-and-projects/concepts/#project) and [region](/serverless/messaging/concepts/#region) as the topic can be selected.
262262

263-
You are prompted to select the Serverless Function or Container to subscribe. Only Functions and Containers with a public [privacy policy](/serverless/functions/concepts/#privacy-policy) can subscribe to an SNS topic.
263+
You are prompted to select the Serverless Function or Container to subscribe. Only Functions and Containers with a public [privacy policy](/serverless/functions/concepts/#privacy-policy) can subscribe to a topic.
264264
</TabsTab>
265265
<TabsTab label="Queues">
266266
<br />
267-
Choose **Queues** to create a subscription for a Scaleway Queue that you have created.
267+
Choose **Queues** to create a subscription for a Scaleway queue that you have created.
268268

269-
You are prompted to select the **queue** to subscribe. Only queues in the same [Project](/identity-and-access-management/organizations-and-projects/concepts/#project) and [region](/serverless/messaging/concepts/#region) as the SNS topic can be selected.
269+
You are prompted to select the **queue** to subscribe. Only queues in the same [Project](/identity-and-access-management/organizations-and-projects/concepts/#project) and [region](/serverless/messaging/concepts/#region) as the topic can be selected.
270270
</TabsTab>
271271
</Tabs>
272272

0 commit comments

Comments
 (0)