Skip to content

Commit 0a9839c

Browse files
authored
Merge pull request #55567 from piyushmutha/patch-1
Fixed type
2 parents 701a322 + e52592b commit 0a9839c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/change-feed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ This feature is currently supported by the following Azure Cosmos DB APIs and cl
2828

2929
## Change feed and different operations
3030

31-
Today, you see all inserts and updates in the change feed. You can't filter the change feed for for a specific type of operation. One possible alternative, is to add a "soft marker" on the item for updates and filter based on that when processing items in the change feed.
31+
Today, you see all inserts and updates in the change feed. You can't filter the change feed for a specific type of operation. One possible alternative, is to add a "soft marker" on the item for updates and filter based on that when processing items in the change feed.
3232

3333
Currently change feed doesn't log deletes. Similar to the previous example, you can add a soft marker on the items that are being deleted. For example, you can add an attribute in the item called "deleted" and set it to "true" and set a TTL on the item, so that it can be automatically deleted. You can read the change feed for historic items (the most recent change corresponding to the item, it doesn't include the intermediate changes), for example, items that were added five years ago. You can read the change feed as far back as the origin of your container but if an item is deleted, it will be removed from the change feed.
3434

0 commit comments

Comments
 (0)