Reputation: 35651
When using the "original" document API in CosmosDB, there is the possibility to specify a consistency level per request, which can of course be different than the default consistency level for the collection.
Is this supported in the graph API, using either the initial Graph SDK or Gremlin.NET ?
More to the point, can I get a session token from the DocumentClient and reuse it for Gremlin queries?
Upvotes: 1
Views: 250
Reputation: 445
Unfortunately CosmosDB Gremlin API does not currently support applying consistency levels per-request. Gremlin requests will assume the default consistency level of the Azure CosmosDB account.
If you'd like to see this feature, please add a request here.
It's also helpful for CosmosDB team to get specific use-case details, so please send an email to: [email protected].
Upvotes: 2