You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
By forcing spring-kafka version to 3.3.0 to benefit the fix of org.springframework.kafka.support.converter.BatchMessagingMessageConverter, compatibility with Spring Boot 3.3.x is broken as it brings transitive dependencies to Spring 6.2.0 into the classpath.
That fix should be backport to spring-kafka 3.2.x and then used into Spring Cloud Stream 4.1.x.
Add dependency org.springframework.cloud:spring-cloud-starter-stream-kafka (version 4.1.4 from Spring Cloud BOM )
Any piece of code or library using classes removed from Spring 6.2.x will fail with ClassNotFoundException. Like spring-vault added with org.springframework.cloud:spring-cloud-starter-vault-config
Wrapped by: j.l.NoClassDefFoundError: org/springframework/util/Base64Utils
at a.AwsIamAuthentication.<clinit>(AwsIamAuthentication.java:83)
at c.ClientAuthenticationFactory.awsIamAuthentication(ClientAuthenticationFactory.java:308)
at c.ClientAuthenticationFactory.createClientAuthentication(ClientAuthenticationFactory.java:126)
at c.VaultAutoConfiguration.clientAuthentication(VaultAutoConfiguration.java:232)
at r.DirectMethodHandleAccessor.invoke(Unknown Source)
at j.l.reflect.Method.invoke(Unknown Source)
Version of the framework
Spring Boot 3.3.6
Spring Cloud 2023.0.4
Spring Cloud Stream Kafka Binder 4.1.4
Expected behavior
Clean classpath with no Spring 6.2.x libraries.
Screenshots
Additional context
The version have been removed in 4.2.x that is compatible with Spring Boot 3.4.x.
The text was updated successfully, but these errors were encountered:
@Amuerte It sounds like we should backport that fix to Spring Kafka 3.2.x and then remove manually setting the Spring Kafka version to 3.3.0 in Spring Cloud Stream 4.1.x. Do you think that assumption is correct? If so, we can backport and remove that hard dependency in the binder. Please let us know. Thanks!
Describe the issue
By forcing spring-kafka version to 3.3.0 to benefit the fix of
org.springframework.kafka.support.converter.BatchMessagingMessageConverter
, compatibility with Spring Boot 3.3.x is broken as it brings transitive dependencies to Spring 6.2.0 into the classpath.That fix should be backport to spring-kafka 3.2.x and then used into Spring Cloud Stream 4.1.x.
To Reproduce
Steps to reproduce the behavior:
org.springframework.cloud:spring-cloud-dependencies:2023.0.4
org.springframework.cloud:spring-cloud-starter-stream-kafka
(version4.1.4
from Spring Cloud BOM )spring-vault
added withorg.springframework.cloud:spring-cloud-starter-vault-config
Version of the framework
Expected behavior
Screenshots
Additional context
The version have been removed in 4.2.x that is compatible with Spring Boot 3.4.x.
The text was updated successfully, but these errors were encountered: