On behalf of the Spring Data team, I'd like to announce the availability of the Lovelace SR2 maintenance release. This release builds on the just-released Spring Framework 5.1.2 service release. Lovelace SR2 is the version that you will get with Spring Boot 2.1 GA that is scheduled for the next few days. If you use Spring Boot 2.0.x and want to consume this service release, you can set the version property (spring-data-releasetrain.version) to Lovelace-SR2.
I am pleased to announce that Spring for Apache Kafka 2.2.0.RELEASE is now available.
While the 2.1.x release is compatible with the 2.0.0 kafka-clients jar, (since 2.1.9), this version requires 2.0.0 (and provides a 2.0.0 embedded broker for testing).
Highlights
The SeekToCurrentErrorHandler can now "skip" records that fail repeatedly
Such "skipped" records can be published to a dead-letter topic (or otherwise disposed of by application code)
Headers are added with diagnostics about the failure
When using transactions, the same functionality can be achieved with the default AfterRollbackProcessor
You can now use the listener container factory to create any arbitrary listener container, not just containers for @KafkaListener s
This allows more convenient use of Spring Boot’s auto configuration properties for any container
@KafkaListener annotations can now override the container factory’s concurrency and autoStartup properties
First of all I would like to thank all community members for their ongoing active contributions to the framework!
Besides the regular dependencies upgrades, bug fixes and internal performance improvements here are some notable new features introduced in this version:
BoundRabbitChannelAdvice
For strict ordering of messages publishing a BoundRabbitChannelAdvice can be used as a MessageHandler advice to allow to perform all the downstream AMQP operations in the same thread-bound Channel…
I am pleased to announce that Spring Batch 4.1.0.RELEASE is now available.
What's New in Spring Batch 4.1 GA
This release adds the following features:
A new @SpringBatchTest annotation to simplify testing batch components
A new @EnableBatchIntegration annotation to simplify remote chunking and partitioning configuration
Support for reading and writing data in JSON format
Support for validating items with the Bean Validation API
Support for JSR-305 annotations
Enhancements to the FlatFileItemWriterBuilder API
@SpringBatchTest Annotation
Spring Batch provides some nice utility classes (such as the JobLauncherTestUtils and
JobRepositoryTestUtils) as well as test execution listeners (StepScopeTestExecutionListener
and JobScopeTestExecutionListener) to test batch components. However, in order
to use these utilities, you must configure them explicitly. This release introduces
a new annotation named @SpringBatchTest…
Good things come in pairs, so I am happy to announce the availability of Spring Session for Apache Geode & Pivotal GemFire (SSDG) 2.0.6.RELEASE and 2.1.0.RELEASE.
SSDG 2.0.6.RELEASE, based on Spring Framework 5.0.10.RELEASE, Spring Data Kay-SR11 and Spring Session core 2.0.7.RELEASE mainly contains dependency updates.
SSDG 2.1.0.RELEASE, on the other hand, has been upgraded to Spring Framework 5.1.1.RELEASE, Spring Data Lovelace-SR1 and Spring Session core 2.1.0.RELEASE, and additionally includes support for custom Session expiration policies and rules.
Custom Session Expiration Configuration
Spring Session for Apache Geode & Pivotal GemFire now provides a new Strategy interface, SessionExpirationPolicy…
Hi Spring fans! Welcome to another installment of This Week in Spring! This week I've just flown back from Canada and Russia where I was at the amazing Joker conference in St. Petersburg. I'm now in San Francisco (where I live!) for a couple of days to soak up the amazing atmosphere around Oracle CodeOne, reunited with the Java community and longtime friends. I'm so excited about the presentation that fellow Java Champion Trisha Gee and I are doing tomorrow at 11:30 am that introduces an end-to-end reactive and Spring-based application from JavaFX client to service. Do not miss this!