The Wire · Showcase
SPRING BOOT CLEANS HOUSE WHILE INTEGRATION FIXES KAFKA BATCH MODE
By RepoJournal · Filed · About Spring
Spring Boot is removing deprecated code and exposing critical NIO APIs, while Spring Integration ships a fix for Kafka batch processing that was breaking downstream splitters.
Spring Boot is consolidating its API surface. A cleanup pass removes deprecated code [1], while two interface changes land back-to-back: ResourceHandlerRegistrationCustomizer moves public [2] to match WebFlux parity, and ApplicationHome/ApplicationTemp now expose Path getters [3] so developers stop round-tripping through File.toPath(). This is the polish work that makes migration to modern Java APIs frictionless. Over in Spring Integration, a critical Kafka fix lands [4] addressing batch mode message ID generation that was causing splitter failures downstream. The batch listener was incorrectly inheriting the record-mode converter instead of getting its own BatchMessagingMessageConverter, breaking correlation headers on split messages. Spring Tools continues cleanup, removing LSP contribution leftovers from the Boot Claude plugin [5]. Spring Kafka shifted to the official Apache image for samples [6], deprioritizing the Bitnami variant.
Action items
- → Review Spring Boot deprecation removals before next minor version upgrade spring-projects/spring-boot [plan]
- → If you use Kafka.messageDrivenChannelAdapter with ListenerMode.batch and splitters, upgrade Spring Integration immediately spring-projects/spring-integration [immediate]
- → Migrate to ApplicationHome/ApplicationTemp Path getters to simplify NIO code spring-projects/spring-boot [monitor]
References
- [1] Remove deprecated code spring-projects/spring-boot
- [2] Make ResourceHandlerRegistrationCustomizer public ↗ spring-projects/spring-boot
- [3] Expose Path getters on ApplicationHome and ApplicationTemp ↗ spring-projects/spring-boot
- [4] GH-11183: Fix batch mode message ID generation in KafkaMessageDrivenChannelAdapter ↗ spring-projects/spring-integration
- [5] Remove LSP contributions leftovers from Boot Claude plugin ↗ spring-projects/spring-tools
- [6] Use apache/kafka docker image in sample app instead of bitnami spring-projects/spring-kafka