Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What's New in Spring Batch 4.2

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report