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.
Related
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
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
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.
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?
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.