Azure / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.35k stars 1.98k forks source link

Diagnostics Improvements - Add readRequestsFallbackenabled flag to Client Side request diagnostics and Client Telemetry #27835

Open kushagraThapar opened 2 years ago

kushagraThapar commented 2 years ago

Add this flag to Client Side request diagnostics -

/**
 * Sets whether to allow for reads to go to multiple regions configured on an account of Azure Cosmos DB service.
 * <p>
 * DEFAULT value is true.
 * <p>
 * If this property is not set, the default is true for all Consistency Levels other than Bounded Staleness,
 * The default is false for Bounded Staleness.
 * 1. {@link #endpointDiscoveryEnabled} is true
 * 2. the Azure Cosmos DB account has more than one region
 *
 * @param readRequestsFallbackEnabled flag to enable reads to go to multiple regions configured on an account of
 * Azure Cosmos DB service.
 * @return current CosmosClientBuilder
 */
public CosmosClientBuilder readRequestsFallbackEnabled(boolean readRequestsFallbackEnabled) {
    this.readRequestsFallbackEnabled = readRequestsFallbackEnabled;
    return this;
}
ghost commented 2 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @kushagraThapar, @simplynaveen20, @abinav2307

github-actions[bot] commented 7 months ago

Hi @kushagraThapar, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.

tvaron3 commented 6 months ago

Our team is planning on getting to this issue.