Spring Cloud Version compatible for Spring Boot 2.5.5 - spring

I'm trying to build a microservice application which will be using Hystrix and some distributed tracing from Spring Cloud. When i tried using Spring Cloud version '2021.0.0-M3' for the Spring boot version '2.5.5' I get below error while startup:
***Your project setup is incompatible with our requirements due to following reasons:
Spring Boot [2.5.5] is not compatible with this Spring Cloud release train***
Is there a compatibility matrix between spring boot and Spring Cloud.

Spring Cloud Release mapping with Spring Boot compatibility:
2020.0.x aka Ilford ----> Spring Boot 2.4.x, 2.5.x (Starting with 2020.0.3)
Hoxton ----> Spring Boot 2.2.x, 2.3.x (Starting with SR5)
Greenwich ----> Spring Boot 2.1.x
Finchley ----> Spring Boot 2.0.x
Edgware ----> Spring Boot 1.5.x
Dalston ----> Spring Boot 1.5.x
Source: documentation link

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

spring cloud 2020.0.4 and spring-kafka:2.6.6 compatibility

I am using spring cloud 2020.0.2 and spring-kafka:2.6.6 with spring boot 2.5.8. This works fine.
But when I upgrade spring cloud to 2020.0.4 then spring kafka throws following error.
MessageHandling exception, Missing header kafka_acknowledgement.
Can anyone please help me if spring cloud 2020.0.2 and spring-kafka:2.6.6 is compatible?
Thank you
2020.0.x switched to Spring Boot 2.5 in 2020.0.3 (see https://spring.io/projects/spring-cloud).
Boot 2.5.x uses Spring for Apache Kafka 2.7.x.

Does Spring Cloud Hoxton.SR3 compatible with Spring Boot 2.3.11?

I would like to know Spring Cloud Hoxton.SR3 is compatible with Spring Boot 2.3.11 ?
The Spring Cloud project page contains a version compatibility table. Spring Cloud Hoxton is compatible with Spring Boot 2.2.x and, as of SR5, Spring Boot 2.3.x. In short, Spring Cloud Hoxton.SR3 is not compatible with Spring Boot 2.3.11.

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?

Spring Boot 2 Actuator without Spring Boot

I would like to add Spring Boot actuator metrics to my existing Spring MVC 5 application (I cannot convert to Spring Boot).
There are a couple of answered questions on SO (Spring Boot Actuator without Spring Boot) but they are for using Spring Boot Actuator 1.x.
Spring Boot Actuator 2.x has been re-architected and so these instructions are no longer valid.
Has anyone integrated Spring Boot Actuator 2.x with a standard Spring MVC 5 app?
Unfortunately you cannot include Spring Boot Actuator without requiring Spring Boot. Spring Boot is a Maven dependency of the Spring Boot Actuator project (the name also suggests that spring boot is required).
You can check out the actual dependency of spring-boot in the pom of spring-boot-actuator.

Resources