Change Feed Consistency Level

淺唱寂寞╮ 提交于 2021-01-28 14:30:23

问题


Assuming we do not have strong consistency set, when using azure functions change feed are we guaranteed to get the latest document when querying against the same partition? Also, are all queries issues from within the change feed guaranteed the latest records since the change feed runs on the write region?

Thanks!


回答1:


You can read changefeed from any read region. Check the pull request https://github.com/Azure/azure-webjobs-sdk-extensions/pull/508. This code will be part of function soon. But using Change feed processor library you can do it today.

If you are reading it from write region then you are getting the current document. However, if you are reading it from any other read region then it will be dependent upon your consistency.



来源:https://stackoverflow.com/questions/52708952/change-feed-consistency-level

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!