Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What's New in Spring Batch 4.2

Shulou Source: shulou.com Published: 2022-06-03 07:47:36 09月23日 Update

The release of Spring Batch 4.2 mainly enhances the following improvements:

Use Micrometer to support batch metrics (batch metrics)

Support for reading / writing (reading/writing) data from Apache Kafka topics

Support for reading / writing (reading/writing) data from Apache Avro resources

Improved support documentation

Batch metrics using Micrometer

This release introduces how you can monitor your batch jobs by using Micrometer. By default, Spring Batch will collect relevant batch metrics (including job time, step time, read and write items, and other relevant information) and register these metrics with the spring.batch prefix (prefix) in the global metrics of Micrometer.

These metrics can be published to any monitoring system (monitoring system) that can support Micrometer.

For more details on this new feature, please refer to the Monitoring and metrics section.

Apache Kafka item read / write

This release adds a new KafkaItemReader and KafkaItemWriter for reading and writing from Kafka's topics.

For more information about this new build, refer to: Javadoc.

Apache Avro item read / write

This release adds a new AvroItemReader and AvroItemWriter for reading and writing from Avro resources.

For more information about this new build, refer to: Javadoc.

Document update

Update the referenced documentation to be consistent with the documentation style of other Spring projects.

Documentation updates for version 4.1

The following is an update in version 4.1 of the document, which we have not removed from our WIKI to keep the historical information consistent.

Please refer to the link below for updates in the 4.1 documentation version, which is no longer in the 4.2 documentation in the official documentation.

@ SpringBatchTest Annotation

@ EnableBatchIntegration Annotation

JSON support

Bean Validation API support

JSR-305 Support

FlatFileItemWriterBuilder Enhancements

Https://www.cwiki.us/pages/viewpage.action?pageId=41685600

Tags: Documents versions metrics references support updates information content release more face-to-face related consistent data time resources projects jobs monitoring features Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Shulou Technology Xiaomi Shulou Information Shulou Tech Info