Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreI am pleased to announce that the first milestone of Spring Batch 4.2 has been released and is available from our milestone repository.
The major feature of this release is the addition of batch metrics with Micrometer.
This release introduces a new feature that lets you monitor your batch jobs by using Micrometer. By default, Spring Batch collects metrics (such as job duration, step duration, item read and write throughput, and others) and registers them in Micrometer's global metrics registry under the spring.batch
prefix. These metrics can be sent to any monitoring system supported by Micrometer.
For more details about this new feature, please refer to the Monitoring and Metrics section of the reference documentation.
In addition to Micrometer support, this milestone includes other improvements:
Spring Framework 5.2.0.M1
, Spring Data 2.2.0.M3
and Spring Integration 5.2.0.M1
For a complete list of changes, please check the change log.
Spring Batch 4.2.0.M1
can be consumed with Spring Boot 2.2.0.M2
. Go ahead and create your next Spring Batch app on start.spring.io! We have also created a new sample to show how to monitor Spring Batch jobs with Micrometer, Prometheus, and Grafana.
We look forward to hearing your feedback on this first milestone! Feel free to ping @michaelminella or @benas on Twitter or to ask your question on StackOverflow or Gitter. If you find any issue, please open a ticket on Jira.
The next milestone will ship support for Apache Kafka. We are planning to add a new item reader and writer to read data from and write it to Kafka topics. Stay tuned!
Spring Batch Home | Source on GitHub | Reference Documentation