2

I'm trying to enable full fidelity in Change Feed by using the following code:

ContainerProperties containerProperties = new ContainerProperties("myContainer", "/pk");
containerProperties.ChangeFeedPolicy.FullFidelityRetention = TimeSpan.FromMinutes(5);

CosmosContainerResponse containerCreateResponse = await database.CreateContainerAsync(containerProperties, 400);

but I get the following exception:

The retention duration in Change Feed policy can only be enabled when Full-Fidelity is enabled for database account.

How does one enable this mode for the database account? I did not see an option on the portal.

user246392
  • 2,661
  • 11
  • 54
  • 96

1 Answers1

3

Public preview will be announced shortly, you are using a preview SDK and the APIs are enabled there for users to leverage them once public preview is announced and enrollment is possible. Stay tuned :)

Matias Quaranta
  • 13,907
  • 1
  • 22
  • 47
  • Thanks Matias! Looking forward to the announcement. – user246392 Feb 25 '21 at 03:53
  • Matias, it's been nearly a month. Any update on this? – user246392 Mar 20 '21 at 17:59
  • @user246392 I'm sorry, I do not have visibility on the roadmap for public previews, all I know is that it will be announced, no information when. – Matias Quaranta Mar 22 '21 at 15:12
  • 1
    7 months later and still not a word more about it! :( – RichMercer Sep 30 '21 at 21:12
  • @MatiasQuaranta can you please give us an update? – user246392 Oct 07 '21 at 02:30
  • @user246392 As far as I know the feature is still in preview and supported in the preview SDKs for those customers onboard the preview. I do not have visibility on when the service intends to GA it. – Matias Quaranta Oct 07 '21 at 13:52
  • @MatiasQuaranta is it still possible to be onboard the preview? – user246392 Oct 07 '21 at 14:09
  • If you use the preview nuget and attempt to use Full Fidelity, you will get an error that contains the preview sign-up address. Also the Emulator has Full Fidelity enabled and can be used to test. Some sources https://github.com/Azure/azure-cosmos-dotnet-v3/blob/9de4291ae0ad99cbf2ed8a1b2fd26b0feeb513ff/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/FeedToken/ChangeFeedIteratorCoreTests.cs#L691 – Matias Quaranta Oct 07 '21 at 21:49