Skip to content

Commit e5be6e3

Browse files
committed
Title case; Azure portal case
1 parent b17f2e1 commit e5be6e3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/cosmos-db/create-sql-api-java-changefeed.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: How-To - an end-to-end Azure Cosmos DB Java SDK v4 application sample with Change Feed
2+
title: Create an end-to-end Azure Cosmos DB Java SDK v4 application sample by using Change Feed
33
description: This how-to guide walks you through a simple Java SQL API application which inserts documents into an Azure Cosmos DB container, while maintaining a materialized view of the container using Change Feed.
44
author: anfeldma
55
ms.service: cosmos-db
@@ -50,7 +50,7 @@ mvn clean package
5050

5151
## Walkthrough
5252

53-
1. As a first check, you should have an Azure Cosmos DB account. Open the **Azure Portal** in your browser, go to your Azure Cosmos DB account, and in the left pane navigate to **Data Explorer**.
53+
1. As a first check, you should have an Azure Cosmos DB account. Open the **Azure portal** in your browser, go to your Azure Cosmos DB account, and in the left pane navigate to **Data Explorer**.
5454

5555
![Azure Cosmos DB account](media/create-sql-api-java-changefeed/cosmos_account_empty.JPG)
5656

@@ -66,7 +66,7 @@ mvn clean package
6666
Press enter to create the grocery store inventory system...
6767
```
6868

69-
then return to the Azure Portal Data Explorer in your browser. You will see a database **GroceryStoreDatabase** has been added with three empty containers:
69+
then return to the Azure portal Data Explorer in your browser. You will see a database **GroceryStoreDatabase** has been added with three empty containers:
7070

7171
* **InventoryContainer** - The inventory record for our example grocery store, partitioned on item ```id``` which is a UUID.
7272
* **InventoryContainer-pktype** - A materialized view of the inventory record, optimized for queries over item ```type```
@@ -100,7 +100,7 @@ mvn clean package
100100
101101
```"SampleHost_1"``` is the name of the Change Feed processor worker. ```changeFeedProcessorInstance.start()``` is what actually starts the Change Feed processor.
102102
103-
Return to the Azure Portal Data Explorer in your browser. Under the **InventoryContainer-leases** container, click **items** to see its contents. You will see that Change Feed Processor has populated the lease container, i.e. the processor has assigned the ```SampleHost_1``` worker a lease on some partitions of the **InventoryContainer**.
103+
Return to the Azure portal Data Explorer in your browser. Under the **InventoryContainer-leases** container, click **items** to see its contents. You will see that Change Feed Processor has populated the lease container, i.e. the processor has assigned the ```SampleHost_1``` worker a lease on some partitions of the **InventoryContainer**.
104104
105105
![Leases](media/create-sql-api-java-changefeed/cosmos_leases.JPG)
106106
@@ -133,15 +133,15 @@ mvn clean package
133133
}
134134
```
135135
136-
1. Allow the code to run 5-10sec. Then return to the Azure Portal Data Explorer and navigate to **InventoryContainer > items**. You should see that items are being inserted into the inventory container; note the partition key (```id```).
136+
1. Allow the code to run 5-10sec. Then return to the Azure portal Data Explorer and navigate to **InventoryContainer > items**. You should see that items are being inserted into the inventory container; note the partition key (```id```).
137137
138138
![Feed container](media/create-sql-api-java-changefeed/cosmos_items.JPG)
139139
140140
1. Now, in Data Explorer navigate to **InventoryContainer-pktype > items**. This is the materialized view - the items in this container mirror **InventoryContainer** because they were inserted programmatically by Change Feed. Note the partition key (```type```). So this materialized view is optimized for queries filtering over ```type```, which would be inefficient on **InventoryContainer** because it is partitioned on ```id```.
141141
142142
![Materialized view](media/create-sql-api-java-changefeed/cosmos_materializedview2.JPG)
143143
144-
1. We're going to delete a document from both **InventoryContainer** and **InventoryContainer-pktype** using just a single ```upsertItem()``` call. First, take a look at Azure Portal Data Explorer. We'll delete the document for which ```/type == "plums"```; it is encircled in red below
144+
1. We're going to delete a document from both **InventoryContainer** and **InventoryContainer-pktype** using just a single ```upsertItem()``` call. First, take a look at Azure portal Data Explorer. We'll delete the document for which ```/type == "plums"```; it is encircled in red below
145145
146146
![Materialized view](media/create-sql-api-java-changefeed/cosmos_materializedview-emph-todelete.JPG)
147147

0 commit comments

Comments
 (0)