美文网首页
Spring Batch 5/Spring Boot 3 Upg

Spring Batch 5/Spring Boot 3 Upg

作者: 程序员札记 | 来源:发表于2023-09-03 09:09 被阅读0次
  • Spring Boot 2.7.X will reach the end of support by Nov 2023. As a Payments company, eBay is required by internal/external auditors to keep all its Software and Systems patched.

  • Batch apps will upgrade to Spring Boot 3**


    image.png

Spring Batch 5.0 Themes

Spring Batch 5.0 has the following major themes:

  • Java 17 Requirement
  • Major dependencies upgrade
  • Batch infrastructure configuration updates
  • Batch testing configuration updates
  • Job parameters handling updates
  • Execution context serialization updates
  • SystemCommandTasklet updates
  • New features
  • Pruning

Key Changes

Run only 1 Job instead of multi Jobs

image.png

JobBuilderFactory & StepBuilderFactory are deprecated

image.png

transactionManager must be provided when creating a step

image.png

Job parameters handling updates

image.png

ItemWriter Changes

image.png

Date types updates

image.png

Default ExecutionContextSerializer changed

image.png

SystemCommandTasklet updates

image.png

BatchConfigurer is removed

image.png

相关文章

网友评论

      本文标题:Spring Batch 5/Spring Boot 3 Upg

      本文链接:https://www.haomeiwen.com/subject/ujufvdtx.html