Skip to content

Commit a6dfa9a

Browse files
committed
fix typo in pull model doc
1 parent d6c4536 commit a6dfa9a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: tisande
66
ms.service: cosmos-db
77
ms.devlang: dotnet
88
ms.topic: conceptual
9-
ms.date: 05/12/2020
9+
ms.date: 05/19/2020
1010
ms.reviewer: sngun
1111
---
1212

@@ -38,7 +38,7 @@ FeedIterator iteratorWithStreams = container.GetChangeFeedStreamIterator();
3838
Using a `FeedIterator`, you can easily process an entire container's change feed at your own pace. Here's an example:
3939

4040
```csharp
41-
FeedIterator<User> iteratorForTheEntireContainer= container.GetChangeFeedIterator<User>(new ChangeFeedRequestOptions{StartTime = DateTime.MinValue});
41+
FeedIterator<User> iteratorForTheEntireContainer= container.GetChangeFeedIterator<User>();
4242

4343
while (iteratorForTheEntireContainer.HasMoreResults)
4444
{
@@ -53,10 +53,10 @@ while (iteratorForTheEntireContainer.HasMoreResults)
5353

5454
## Consuming a partition key's changes
5555

56-
In some cases, you may only want to process a specific partition key's changes. You can obtain a `FeedIterator` for a specific partition key and process the changes the same way that you can for an entire container:
56+
In some cases, you may only want to process a specific partition key's changes. You can obtain a `FeedIterator` for a specific partition key and process the changes the same way that you can for an entire container.
5757

5858
```csharp
59-
FeedIterator<User> iteratorForThePartitionKey = container.GetChangeFeedIterator<User>(new PartitionKey("myPartitionKeyValueToRead"), new ChangeFeedRequestOptions{StartTime = DateTime.MinValue});
59+
FeedIterator<User> iteratorForThePartitionKey = container.GetChangeFeedIterator<User>(new PartitionKey("myPartitionKeyValueToRead"));
6060

6161
while (iteratorForThePartitionKey.HasMoreResults)
6262
{

0 commit comments

Comments
 (0)