close

Mahmoud Ben Hassine

Mahmoud Ben Hassine

Spring Batch Lead

Lille, France

Mahmoud is a passionate software engineer and an open source software advocate. When he is not coding, Mahmoud enjoys spending time with his family and friends, running, reading and playing chess!
Blog Posts by Mahmoud Ben Hassine

Spring Batch 5.0 M1 released

On behalf of the team and everyone who contributed, I am pleased to announce that the first milestone release of Spring Batch 5.0 is available now from https://repo.spring.io/milestone. This first milestone includes a number of major changes such as requiring Java 17+, migrating to Jakarta EE 9 APIs as well as upgrading our dependencies across the portfolio to major versions such as Spring Framework 6.0. For a complete list of changes, please check the change log.

We also took the opportunity of this major version to remove deprecated APIs and fix some issues that require non backward compatible changes. The migration guide contains more details about these changes and provides the upgrade instructions.

Read more...

Spring Batch 4.2.7 and 4.3.3 are out!

On behalf of the team and everyone who contributed, I am pleased to announce that Spring Batch 4.2.7 and 4.3.3 have been released and are available now from Maven Central repository. These patch releases come with a number of bug fixes, improvements and dependency updates. You can find the complete change logs here: 4.2.7 and 4.3.3.

I would like to thank all contributors who had a role in these releases!

Spring Batch Home | Source on GitHub | Reference Documentation

Read more...

Spring Batch on Kubernetes: Efficient batch processing at scale

Introduction

Batch processing has been a challenging area of computer science since its inception in the early days of punch cards and magnetic tapes. Nowadays, the modern cloud computing era comes with a whole new set of challenges for how to develop and operate batch workload efficiently in a cloud environment. In this blog post, I introduce some of the challenges a batch developer or architect may face when designing and running batch applications at scale and show how Spring Batch, Spring Boot and Kubernetes can tremendously simplify this task.

Read more...

Spring Batch 4.3 is now GA!

Dear Spring Batch community,

On behalf of the team and all contributors, it is my pleasure to announce that Spring Batch 4.3 is now generally available from Maven Central!

This release comes with a number of new features, enhancements, and dependency updates. You can find the complete list of changes in the release notes, but here are the major highlights:

  • Java records support
  • GraalVM support
  • New synchronized ItemStreamWriter
  • New JpaCursorItemReader Implementation
  • Performance improvements in MongoItemWriter and RepositoryItemWriter
  • And more!
Read more...

Spring Batch 4.3.0-RC1 available now!

I am pleased to announce that Spring Batch 4.3.0-RC1 is now available from our milestone repository.

What’s New?

This release comes with a number of new features that you can find in the release notes, but here are the major highlights:

1. GraalVM Support

A lot of work has already been done in Spring Framework to support running some types of Spring applications on GraalVM. In this release, we made changes in Spring Batch to correctly run Batch applications on GraalVM as well.

The support is still experimental, so we encourage you to give the release a try and share your feedback.

Read more...

Spring Batch 4.3.0-M2 is out!

On behalf of the Spring Batch team, I am pleased to announce that Spring Batch 4.3.0-M2 is now available from our milestone repository.

What’s new?

This release comes with a number of new features and enhancements that you can find in the release notes, but here are the major highlights:

1. Kafka support enhancements

By default, the KafkaItemReader reads a topic from the beginning. When we initially introduced this reader in v4.2, it was not possible to configure it to read records from a custom offset. In this release, we added this feature. As a result of this addition, it is now possible to configure the reader to start from the offset stored in Kafka.

Read more...

Spring Batch 4.3.0-M1 is released now!

On behalf of the Spring Batch team, I am pleased to announce that Spring Batch 4.3.0-M1 is now available from our milestone repository.

What’s new?

This release is packed with new features, performance improvements, and bug fixes, as well as documentation and dependency updates! You can find the complete list of changes in the release notes, but here are the major highlights:

New features

1. New synchronized ItemStreamWriter

Similar to the SynchronizedItemStreamReader, we added a SynchronizedItemStreamWriter. This feature is useful in multi-threaded steps where concurrent threads need to be synchronized to not override each other’s writes.

Read more...