Spring for Apache Kafka 4.0.0-M1, 3.3.4, and 3.2.8 are Available Now

Releases | Soby Chacko | March 18, 2025 | ...

We are pleased to announce the first milestone release of Spring for Apache Kafka 4.0.x generation. The major theme in the 4.0.0-M1 milestone is upgrading the framework to be compatible with Spring Framework 7.0.0-M3. Several other dependencies are updated to their respective next major versions, such as Kotlin support, which is updated to version 2.1.10.

Another theme in the 4.0.0-M1 release is that all the former org.springframework.lang nullability annotations have been migrated to JSpecify-based Null Safety improvements. For more information, see this blog post on the Spring support for JSpecify and NullAway. In the upcoming milestones, we are planning to build on this first round of new nullability changes and continue to make further refinements in this area.

In addition to the 4.0.0-M1 release, we are also happy to release the next point GA versions for Spring for Apache Kafka 3.3.4 and 3.2.8.

We extend our gratitude to all contributors who made these releases possible.

Release Notes

See the release notes for more details on what's included in these releases:

https://github.com/spring-projects/spring-kafka/releases/tag/v4.0.0-M1

https://github.com/spring-projects/spring-kafka/releases/tag/v3.3.4

https://github.com/spring-projects/spring-kafka/releases/tag/v3.2.8

Kafka Client 4.0.0

The next milestone of Spring for Apache Kafka will add support for the newly released Kafka Client 4.0.0 version, and will be a major theme in version 4.0.0-M2.

Kafka Client 3.9.0 compatibility

Spring for Apache Kafka version 3.3.4 is compatible with Kafka Client 3.9.0, though the framework's compile-time dependency remains Kafka Client 3.8.1. To use Kafka Client 3.9.0 or later with version 3.3.4, applications must manually upgrade their Kafka Client version.

For instructions on overriding Kafka Client versions in Spring Boot, please refer to https://docs.spring.io/spring-kafka/reference/appendix/override-boot-dependencies.html[this guide].

Spring Boot Integration

The 3.3.4 and 3.2.8 releases will be integrated into the upcoming Spring Boot 3.4.4 and 3.3.10 releases respectively. Version 3.3.4 will also be included in the Spring Boot 3.5.x line and will be available with the upcoming Spring Boot 3.5.0-M3 release.

Staying in Touch with the Project

We encourage the community to provide us with any feedback on any of these releases.

Following are the usual avenues where you can engage with the project.

GitHub | Issues | Documentation | Stack Overflow

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all