Forum Discussion
nitinrahim
Aug 10, 2023Brass Contributor
maxDegreeOfParallelism SDK Parameter
Hi Azure CosmosDB Partner Community,
What is the difference in using maxDegreeOfParallelism in CosmosQueryRequestOptions and FeedOptions in Cosmos JAVA SDK?
Tried using maxDegreeOfParallelism in CosmosQueryRequestOptions value to -1 to let Cosmos DB handle the degree of parallelism but need to understand if there is a difference setting the same in feed options.
With Regards,
Nitin Rahim
2 Replies
- SajeetharanCopper Contributor
nitinrahim You should leverage only through https://learn.microsoft.com/en-us/java/api/com.azure.cosmos.models.cosmosqueryrequestoptions?view=azure-java-stable as FeedOptions are not exposed.
- nitinrahimBrass Contributor