microsoft / spring-data-cosmosdb

Access data with Azure Cosmos DB
MIT License
94 stars 64 forks source link

Upgrading azure-documentdb version from 1.16.2 to latest 2.x #418

Closed apescione closed 5 years ago

apescione commented 5 years ago

Spring Data Cosmos 2.1.7 is using the older version of azure-documentdb (1.16.2), so we cannot use new features, and moreover we cannot use some libraries that needs 2.x version, like the latest documentdb-bulkexecutor. Overriding the version of azured-documentdb to the latest, we could face some issues. Is there a way to check compatibility among these versions?

kushagraThapar commented 5 years ago

@apescione

azure-documentdb has announced deprecation. It will be deprecated in Jan 2020.

Spring-data cosmosdb is moving away from azure-documentdb. 2.1.7 release introduced ReactiveCosmosReporitory based on cosmosdb v3 SDK and also uses cosmosdb v3 SDK for implementation of DocumentDbRepository.

Since the deprecation will happen in Jan 2020, we still plan to support it.

I can update the version of azure-documentdb in spring release 2.1.2.2 if that works for you guys.

apescione commented 5 years ago

Thank you very much for your answer. I'm moving toward 2.1.7 version, indeed I have new question: How can I use documentdb-bulkexecutor? Is There a BulkExecutor that uses Azure Cosmos V3 Driver?

kushagraThapar commented 5 years ago

@apescione Good move, regarding BulkExecutor, as far as I know, there is one in .Net, but not in java. We are building BulkExecutor for Azure Cosmos V3, or probably V4. It will take some time, might be available in early - mid November.

I will close this issue now.