Azure / azure-cosmos-dotnet-v3

.NET SDK for Azure Cosmos DB for the core SQL API
MIT License
723 stars 477 forks source link

Support for "All versions and delete mode" with Change Feed Processor #4451

Closed nikhil-pandey closed 2 months ago

nikhil-pandey commented 2 months ago

Is your feature request related to a problem? Please describe. We have a requirement to use the "All versions and delete mode" feature of the change feed. However, this feature is not currently supported in the SDK through Change Feed Processor. The lack of this feature is a significant limitation for us, as we need to track and process every version of a document, including deletions, for synchronization purposes.

Describe the solution you'd like We would like the "All versions and delete mode" to be supported with the Change Feed Processor. This would allow us to fully utilize the change feed capabilities of Cosmos DB and ensure that our application can maintain a comprehensive record of all changes within our Cosmos DB containers.

Describe alternatives you've considered We can't use the Java SDK. Using the Change feed pull method means reimplementing a lot of features that Change feed processor already has like lease, polling, parallelize across multiple threads and machines. image

Additional context image

philipthomas-MSFT commented 2 months ago

We have included this recently in the preview package.

https://github.com/Azure/azure-cosmos-dotnet-v3/releases/tag/3.40.0-preview.0

and there is a hotfix release here https://github.com/Azure/azure-cosmos-dotnet-v3/releases/tag/3.40.0-preview.1

I am in the process of updating the documentation that you have screenshot. Please close this at your earliest convenience. Thanks.