Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
APPLIES TO:
NoSQL
Links | |
---|---|
SDK download | NuGet |
API documentation | Change Feed Processor library API reference documentation |
Get started | Get started with the Change Feed Processor .NET SDK |
Current supported framework | Microsoft .NET Framework 4.5 Microsoft .NET Core |
Note
If you are using change feed processor, please see the latest version 3.x of the .NET SDK, which has change feed built into the SDK.
Microsoft.Azure.Documents.ChangeFeedProcessor.Logging.TraceLogProvider
class that takes an instance of the System.Diagnostics.TraceSource
as an argument. This allows the TraceLogProvider
, which is used for .net tracing, to be created programmatically from a custom TraceSource
instance initialized in source code. Before this change it was only possible to configure .net tracing using App.config file.FeedProcessing.ChangeFeedObserverCloseReason.Unknown
close reason was sent to FeedProcessing.IChangeFeedObserver.CloseAsync
if the partition cannot be found or if the target replica is not up to date up with the read session. In these cases FeedProcessing.ChangeFeedObserverCloseReason.ResourceGone
and FeedProcessing.ChangeFeedObserverCloseReason.ReadSessionNotAvailable
close reasons are now used.FeedProcessing.ChangeFeedObserverCloseReason.ReadSessionNotAvailable
that is sent to close the change feed observer when the target replica is not up to date up with the read session.ChangeFeedProcessorBuilder.WithCheckpointPartitionProcessorFactory
and corresponding public interface ICheckpointPartitionProcessorFactory
. This allows an implementation of the IPartitionProcessor
interface to use built-in checkpointing mechanism. The new factory is similar to the existing IPartitionProcessorFactory
, except that its Create
method also takes the ILeaseCheckpointer
parameter.ChangeFeedProcessorBuilder.WithPartitionProcessorFactory
or ChangeFeedProcessorBuilder.WithCheckpointPartitionProcessorFactory
, can be used for the same ChangeFeedProcessorBuilder
instance.ChangeFeedProcessorOptions.ChangeFeedTimeout
property, the following steps are taken:
ChangeFeedProcessorOptions.ChangeFeedTimeout
. The default value of this property is 10 mins.Monitoring.MonitoredOperation.ReadChangeFeed
. When the value of HealthMonitoringRecord.Operation
is set to Monitoring.MonitoredOperation.ReadChangeFeed
, it indicates the health issue is related to reading change feed.Fixed the following issues:
The following exceptions are made public. Extensions that implement IPartitionProcessor can throw these exceptions.
netstandard2.0
and net451
framework monikers.Microsoft will provide notification at least 12 months in advance of retiring an SDK in order to smooth the transition to a newer/supported version. New features and functionality and optimizations are only added to the current SDK, as such it is recommended that you always upgrade to the latest SDK version as early as possible.
Warning
After 31 August 2022, Azure Cosmos DB will no longer make bug fixes, add new features, and provide support to versions 1.x of the Azure Cosmos DB .NET or .NET Core SDK for API for NoSQL. If you prefer not to upgrade, requests sent from version 1.x of the SDK will continue to be served by the Azure Cosmos DB service.
Version | Release Date | Retirement Date |
---|---|---|
2.5.0 | May 15, 2023 | --- |
2.4.0 | May 6, 2021 | --- |
2.3.2 | August 11, 2020 | --- |
2.3.1 | July 30, 2020 | --- |
2.3.0 | April 2, 2020 | --- |
2.2.8 | October 28, 2019 | --- |
2.2.7 | May 14, 2019 | --- |
2.2.6 | January 29, 2019 | --- |
2.2.5 | December 13, 2018 | --- |
2.2.4 | November 29, 2018 | --- |
2.2.3 | November 19, 2018 | --- |
2.2.2 | October 31, 2018 | --- |
2.2.1 | October 24, 2018 | --- |
1.3.3 | May 08, 2018 | --- |
1.3.2 | April 18, 2018 | --- |
1.3.1 | March 13, 2018 | --- |
1.2.0 | October 31, 2017 | --- |
1.1.1 | August 29, 2017 | --- |
1.1.0 | August 13, 2017 | --- |
1.0.0 | July 07, 2017 | --- |
How will I be notified of the retiring SDK?
Microsoft will provide 12 month's advance notice before the end of support of the retiring SDK to facilitate a smooth transition to a supported SDK. We'll notify you through various communication channels: the Azure portal, Azure updates, and direct communication to assigned service administrators.
Can I author applications by using a to-be-retired Azure Cosmos DB SDK during the 12-month period?
Yes, you'll be able to author, deploy, and modify applications by using the to-be-retired Azure Cosmos DB SDK during the 12-month notice period. We recommend that you migrate to a newer supported version of the Azure Cosmos DB SDK during the 12-month notice period, as appropriate.
After the retirement date, what happens to applications that use the unsupported Azure Cosmos DB SDK?
After the retirement date, Azure Cosmos DB will no longer make bug fixes, add new features, or provide support to the retired SDK versions. If you prefer not to upgrade, requests sent from the retired versions of the SDK will continue to be served by the Azure Cosmos DB service.
Which SDK versions will have the latest features and updates?
New features and updates will be added only to the latest minor version of the latest supported major SDK version. We recommend that you always use the latest version to take advantage of new features, performance improvements, and bug fixes. If you're using an old, non-retired version of the SDK, your requests to Azure Cosmos DB will still function, but you won't have access to any new capabilities.
What should I do if I can't update my application before a cutoff date?
We recommend that you upgrade to the latest SDK as early as possible. After an SDK is tagged for retirement, you'll have 12 months to update your application. If you're not able to update by the retirement date, requests sent from the retired versions of the SDK will continue to be served by Azure Cosmos DB, so your running applications will continue to function. But Azure Cosmos DB will no longer make bug fixes, add new features, or provide support to the retired SDK versions.
If you have a support plan and require technical support, contact us by filing a support ticket.
How can I request features be added to an SDK or connector?
New features are not always added to every SDK or connector immediately. If there is a feature not supported that you would like added, please add feedback to our community forum.
To learn more about Azure Cosmos DB, see Microsoft Azure Cosmos DB service page.
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register now