Open vaibhawk-kr opened 1 month ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @kushagraThapar @pjohari-ms @TheovanKraay.
@vaibhawk-kr - this can be done through DedicatedGatewayRequestOptions
- which are only present on per request options. However, I think there is a way to enable / disable the dedicated gateway per client. @tvaron3 can you please share any examples we have for request options extensibility?
@vaibhawk-kr the description in this pr shows how to use request options extensibility which will allow you to change DedicatedGatewayRequestOptions
per client. https://github.com/Azure/azure-sdk-for-java/pull/40061
Query/Question I am having hard time finding how to set request options to bypass dedicated gateway/integrated cache. I was hoping for options to change it in CosmosConfig used to create ReactiveCosmosTemplate or the annotations on ReactiveCosmosRepository methods to do so.
Why is this not a Bug or a feature Request? I am not sure if its a design decision to not expose that. Maybe that's a question for you
Setup (please complete the following information if applicable):
Library/Libraries: com.azure.spring:spring-cloud-azure-starter-data-cosmos:4.19.0
Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report