Skip to content

Commit ac3728b

Browse files
authored
Apply suggestions from code review
1 parent 6e5f38a commit ac3728b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/cosmos-db/mongodb/how-to-configure-multi-region-write.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.author: gahllevy
1313

1414
Multi-region writes in Azure Cosmos DB for MongoDB enable your clients to write to multiple regions. This results in lower latency and better availability for your writes. It's important to note that unlike other MongoDB services, Azure Cosmos DB for MongoDB enables you to write data from the same shard to multiple regions. Multi-region writes is a true active-active setup.
1515

16-
### Configure in Azure Portal
16+
## Configure in Azure portal
1717
To enable multi-region writes from Azure portal, use the following steps:
1818

1919
1. Sign-in to the [Azure portal](https://portal.azure.com/).
@@ -26,10 +26,10 @@ To enable multi-region writes from Azure portal, use the following steps:
2626

2727
1. After you update the region list, select **save** to apply the changes.
2828

29-
:::image type="content" source="./media/how-to-multi-region-write/enable-multi-region-writes.png" alt-text="Screenshot to enable multi-region writes using Azure portal" lightbox="./media/how-to-multi-region-write/enable-multi-region-writes.png":::
29+
:::image type="content" source="./media/how-to-multi-region-write/enable-multi-region-writes.png" alt-text="Screenshot to enable multi-region writes using Azure portal." lightbox="./media/how-to-multi-region-write/enable-multi-region-writes.png":::
3030

3131

32-
### Connect your client
32+
## Connect your client
3333
MongoDB connection strings supports the “appName” parameter, which is a means to identify client workloads. appName is used to identify the preferred write region for your connection. AppName can be specified in the connection string or using SDK specific initialization methods/properties.
3434

3535
The appName parameter can be in one of the following formats​:
@@ -40,9 +40,9 @@ appName=<user-workload-name>@<preferred-write-region>​
4040
appName=<user-workload-name>@<cosmosdb-account-name>@<preferred-write-region>
4141
```
4242

43-
On multi-region write accounts, Azure Portal supports generation of region-specific connection strings to encode the preferred region list​. Selecting the preferred region dropdown will change the appName in the connection string to set the preferred write region. Simply copy the connection string after setting the preferred region.
43+
On multi-region write accounts, Azure portal supports generation of region-specific connection strings to encode the preferred region list​. Selecting the preferred region dropdown will change the appName in the connection string to set the preferred write region. Simply copy the connection string after setting the preferred region.
4444

45-
:::image type="content" source="./media/how-to-multi-region-write/connect-multi-region-writes.png" alt-text="Screenshot to connect to multi-region writes account using Azure portal" lightbox="./media/how-to-multi-region-write/connect-multi-region-writes.png":::
45+
:::image type="content" source="./media/how-to-multi-region-write/connect-multi-region-writes.png" alt-text="Screenshot to connect to multi-region writes account using Azure portal." lightbox="./media/how-to-multi-region-write/connect-multi-region-writes.png":::
4646

4747
We recommend applications deployed to different regions to use the region-specific connection string with the correct preferred region for low-latency writes.
4848

0 commit comments

Comments
 (0)