Spring Boot (v1.5.1.RELEASE) and Spring ElasticSearch 3.0.0 - elasticsearch

Are Spring boot v1.5.1 and Spring data elastic search 3.0.0 compatible.
We can only use Elastic search 5 if we have spring data elastic search 3.0.0 but the equivalent spring boot version 2.0 is not yet released.
So would like to know whether it could work with current spring boot version 1.5.1.

You will end up in dependency hell if you try to get Spring Data Kay into Spring Boot 1.x — see also Spring Boot application with current elasticsearch version
Either use the latest milestone of Spring Boot 2.0 (it should reach GA until the end of the year from what I've heard) or use Elastic's high level REST client and avoid any coupling to Spring Data.

Related

Spring Boot Parent and Spring Cloud starter gateway version issue

I am forced to use/mention Spring cloud gateway version because my organization uses nexus repo.
I am using spring boot parent version 2.5.12, could you please let me know which version of spring
cloud starter gateway should I use. I have tried 3.x.x version for gateway but no use.
You can refer to Spring Boot and Spring Cloud Compatibility Matrix in the below
Check for Release train Spring Boot compatibility in the below
https://spring.io/projects/spring-cloud
See compatible version between Spring Cloud (Spring Cloud Gateway) with Spring Boot at here. https://spring.io/blog/2022/05/27/spring-cloud-2021-0-3-is-available-compatible-with-spring-boot-2-7-0
https://github.com/spring-cloud/spring-cloud-release/wiki
Choose correct versions pair for you.
For example: Spring Cloud Gateway 3.1.3 (belong to Spring Cloud 2021.0.3 Release Train) works with Spring Boot 2.6.x and Spring Boot 2.7.x

Are there plans for a spring cloud update that is compatible with spring boot 2.5?

I am using both spring cloud and spring boot in my project. We are adding a feature that will require the Spring Boot 2.5 release, however the latest supported Spring Boot version supported by the most recent Spring Cloud snapshot is 2.4.6-SNAPSHOT. Are there any plans to support spring boot version 2.5 in a new Spring Cloud update or snapshot? If so, when is that projected to be released?

DataSourcePublicMetrics Not Available in Spring boot 2.1.3

We are using a sharded database where we want to have metrics about each shard. We were using Spring Boot 1.5.9 and recently we upgraded to Spring Boot 2.1.3. For the metrics in the sharded database we were extending org.springframework.boot.actuate.endpoint.DataSourcePublicMetrics, but it seems this is gone now with the new Spring Boot version.
That class allowed the method ``public Collection> metrics()` to be added whhich adds custom metrics.
How can we achieve this same behavior with the new version?
Thanks a lot in advance

Spring Boot Admin Server 2.X backwards compatible with 1.3.3

Most of our microservices still use Spring Boot 1.3.5 and are monitored with Spring Boot Admin 1.3.3. I have recently started upgrading some of these microservices to Spring Boot 2.0.0 and we are successfully monitoring them with Spring Boot 2.0.2, however I can't get Spring Boot 2.0.2 to monitor 1.3.5 Spring Boot applications. The application registers on SBA, but SBA returns a 404 error when trying to access any info tab (which I guess comes from the change on the endpoints on SBA 2.X.X).
In the SBA reference guide it is stated that it is possible to monitor 1.5.X applications (https://codecentric.github.io/spring-boot-admin/current/#monitoring-spring-boot-1.5.x). I've tried this method with no luck, so my question is, is it possible to monitor Spring Boot 1.3.5 applications with SBA 2.X.X? am I missing something?.

What's the proper spring cloud release working with current spring boot 2.0.0M3

I would like to use spring boot 2.0.0M3(which includes Spring 5 RC3) for my new project. I'm wondering which release of spring cloud I should use to have compatible with spring 5.
I did not find any resource talking about it. Should I use latest Dalston SR2 or Finchley snapshot to having spring cloud capability?
I generated my new project via start.spring.io.
The Finchley.M1 of spring cloud works fine with spring boot 2.0.0.M3.

Resources