Question

UlrikB on Tue, 21 Nov 2017 14:13:21


I'm using the ChangeFeedEventHost to track changes to my Cosmos Db and that works nicely. When a given observer instance is assigned a new partition, I need to know which documents are currently in this partition. How can I translate the PartitionKeyRangeId into some document query?

Sponsored



Replies

Rafat Sarosh on Wed, 22 Nov 2017 23:26:53


I am afraid you have to do a query to get all the documents for a partition key.