Skip to content

Commit 1cd7b17

Browse files
committed
fix a few typos in change feed pull model docs
1 parent 7bc91ec commit 1cd7b17

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

articles/cosmos-db/change-feed-pull-model.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ ms.reviewer: sngun
1515
The change feed pull model is part of the [Azure Cosmos DB SDK V3](https://github.com/Azure/azure-cosmos-dotnet-v3). You can use the change feed pull model to parallelize processing of changes across multiple change feed consumers.
1616

1717
> [!NOTE]
18-
> The change feed pull model is currently in [preview in the .NET SDK](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.9.0-preview) only. The preview is not yet available for other SDK versions.
18+
> The change feed pull model is currently in [preview in the Azure Cosmos DB .NET SDK](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.9.0-preview) only. The preview is not yet available for other SDK versions.
1919
20-
## Using FeedTokens for parallelization
20+
## Using FeedRange for parallelization
2121

22-
In the change feed pull model, you can use the `FeedRange` to parallelize the processing of the change feed. A `FeedRange` represents a range of partition key values. This range could match a complete physical partition, a smaller range, or a single partition key value.
22+
In the change feed pull model, you can use the `FeedRange` to parallelize the processing of the change feed. A `FeedRange` represents a single [physical partition].(partition-data.md#physical-partitions).
2323

2424
Here's an example showing how to obtain a list of ranges for your container.
2525

@@ -75,7 +75,7 @@ while (iteratorB.HasMoreResults)
7575
}
7676
```
7777

78-
## Saving FeedTokens
78+
## Saving continuation tokens
7979

8080
You can save the position of your `FeedIterator` by creating a continuation token. A continuation token is a string value that keeps of track of your FeedIterator's last processed changes. This allows the `FeedIterator` to resume at this point later. The following code will read through the change feed since container creation. After no more changes are available, it will persist a continuation token so that change feed consumption can be later resumed.
8181

@@ -101,7 +101,7 @@ FeedIterator<User> iteratorThatResumesFromLastPoint = container.GetChangeFeedIte
101101

102102
## Consuming an entire container
103103

104-
Sometimes you might not need any parallelization when reading the change feed. By creating a `FeedIterator` without any `FeedToken` input, you can read an entire container's change feed on one machine:
104+
Sometimes you might not need any parallelization when reading the change feed. By creating a `FeedIterator` without any `FeedRange` input, you can read an entire container's change feed on one machine:
105105

106106
```csharp
107107
FeedIterator<User> iteratorForTheEntireContainer= container.GetChangeFeedIterator(new ChangeFeedRequestOptions{StartTime = DateTime.MinValue});

articles/cosmos-db/read-change-feed.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ You can work with the Azure Cosmos DB change feed using any of the following opt
1515

1616
* Using Azure Functions
1717
* Using the change feed processor
18-
* Using the change feed pull model
1918
* Using the Azure Cosmos DB SQL API SDK
19+
* Using the change feed pull model (preview)
2020

2121
## Using Azure Functions
2222

@@ -32,7 +32,10 @@ With the SDK, you get a low-level control of the change feed. You can manage the
3232

3333
## Using the change feed pull model
3434

35-
The [change feed pull model](change-feed-pull-model.md) allows you to parallelize processing of changes with FeedRanges. A FeedRange can span range of partiton key values or even a single partiton key value. This makes it easy to process changes for a specific partition key or achieve better parallelization of processing changes than with the change feed processor. The change feed pull model is currently in [preview] in the .NET SDK(https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.9.0-preview) only. The preview is not yet available for other SDK versions.
35+
The [change feed pull model](change-feed-pull-model.md) allows you to parallelize processing of changes with FeedRanges. A FeedRange can span range of partition key values or even a single partition key value. This makes it easy to process changes for a specific partition key or achieve better parallelization of processing changes than with the change feed processor. The change feed pull model is currently in [preview] in the .NET SDK(https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.9.0-preview) only. The preview is not yet available for other SDK versions.
36+
37+
> [!NOTE]
38+
> The change feed pull model is currently in [preview in the Azure Cosmos DB .NET SDK](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.9.0-preview) only. The preview is not yet available for other SDK versions.
3639
3740
## Change feed in APIs for Cassandra and MongoDB
3841

0 commit comments

Comments
 (0)