Closed stevenylai closed 4 weeks ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @kushagraThapar @pjohari-ms @TheovanKraay.
@xinlian12 can you please take a look at this, thanks!
The doc has been updated.
Sorry, which doc has been updated? If I search 'CosmosDB spark connector configuration', the first one I get is https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/tutorial-spark-connector?pivots=programming-language-python and under Configuration parameter reference
, it still takes me to the configuration-reference.md
in the repo where it says ServicePrincipal
all over the place.
Describe the bug As titled, the documentation azure-cosmos-spark has a typo. For example https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/cosmos/azure-cosmos-spark_3_2-12/docs/configuration-reference.md
Exception or Stack Trace RuntimeException: Invalid configuration for spark.cosmos.auth.type:ServicePrincipal. Config description: There are two auth types are supported currently: 'MasterKey' (...), 'ServicePrinciple' (...)
To Reproduce Happened when we set
spark.cosmos.auth.type=ServicePrincipal
as in the docCode Snippet
Expected behavior Documentation should be updated to reflect the correct value instead of letting user to set the wrong value and figuring out the correct one from a stack trace.
Screenshots If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
If you suspect a dependency version mismatch (e.g. you see
NoClassDefFoundError
,NoSuchMethodError
or similar), please check out Troubleshoot dependency version conflict article first. If it doesn't provide solution for the problem, please provide:mvn dependency:tree -Dverbose
)Additional context N/A
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