I am migrating spring boot application integrated with Azure CosmosDB which is in 2.7.9 version to 3.0.X version but I am getting the following errors.
Field userRepository in com.cosmos.services.UserService required a bean named 'cosmosTemplate' that could not be found.
Even though AbstractCosmosConfiguration class has the configuration for cosmostemplate but it does not get configured. If I try to provide with manual implementation it creates conflict and does not allow the application to run.
Can anyone please clarify if CosmosDB is supported in Spring Boot 3 yet??
Comment From: snicoll
@cdacproject786 unfortunately that's not the proper place to figure this out. The Spring support for Azure CosmosDB is managed by the Azure team. According to the documentation, it is not supported.
If you try to create an app on start.spring.io, it'll also indicate that Spring Boot 3 is not supported.
Comment From: kushagraThapar
@cdacproject786 the support for spring boot 3 is coming this month for Azure Spring Data CosmosDB - you can track this github issue for more information: https://github.com/Azure/azure-sdk-for-java/issues/30458