[英]How to enable full fidelity in Azure Cosmos DB Change Feed
我正在嘗試使用以下代碼在更改提要中啟用完全保真度:
ContainerProperties containerProperties = new ContainerProperties("myContainer", "/pk");
containerProperties.ChangeFeedPolicy.FullFidelityRetention = TimeSpan.FromMinutes(5);
CosmosContainerResponse containerCreateResponse = await database.CreateContainerAsync(containerProperties, 400);
但我得到以下異常:
The retention duration in Change Feed policy can only be enabled when Full-Fidelity is enabled for database account.
如何為數據庫帳戶啟用此模式? 我在門戶網站上沒有看到選項。
公共預覽版將很快發布,您使用的是預覽版 SDK,並且在發布公共預覽版並可以注冊后,API 已啟用,用戶可以使用它們。 敬請關注:)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.