-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questions relates to migration from Java sync v2 to V4 #15037
Comments
Missing Class
Missing Methods
|
You mentioned that getReadEndpoint, getWriteEndpoint, getConnectionPolicy, getPageSize has been removed v4. I don't get it, functionality that all these methods provides has this been moved under some other class/method or these functionality has been complete removed? Also I using Sync DB connection and using "CosmosClient dbclient = new CosmosClientBuilder().endpoint(accountUrl).key(key).consistencyLevel(consistency).buildClient();" now how can I do crud operations in this. In v2 we used "dbclient.deleteCollection()", "dbclient.readDocument", "dbclient.queryDocuments", "dbclient.createDocument", "dbclient.deleteDocument", "dbclient.replaceDocument" etc. Now how can I do these functionalities with CosmosClient ? All these methods are only available in Async mode |
fix in readme file for latest sdk generation (Azure#15037)
getReadEndpoint, getWriteEndpoint, getConnectionPolicy, getPageSize has been removed completely in V4. In V4, we support sync and async. Please find the sync examples here: |
Close of no activity |
Use this to keep tracking the migration questions from customer relates to sync v2 to v4.
The text was updated successfully, but these errors were encountered: