Mahmoud Ben Hassine

Mahmoud Ben Hassine

Spring Batch Project Lead | Lille, France

I am a software engineer at VMware, currently working as the project lead of Spring Batch.

I am an OSS advocate and I have contributed to several open source projects. I enjoy spending time with my family and friends, reading, running and playing chess!

Blog posts by Mahmoud Ben Hassine

Spring Batch 5.0.5 and 5.1.1 available now

Releases | February 21, 2024 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce that Spring Batch 5.0.5 and 5.1.1 are available now from Maven Central!

These patch releases come with a number of bug fixes, improvements and dependencies updates. You can find the release notes of each version here: 5.0.5 and 5.1.1.

We look forward to your feedback on Github Issues, Github Discussions, Twitter, and StackOverflow.

Spring Batch Home|Source on Github|Reference documentation

Spring Batch 5.1 GA, 5.0.4 and 4.3.10 available now!

Releases | November 22, 2023 | ...

On behalf of the team and all contributors, I am pleased to announce that Spring Batch 5.1.0, 5.0.4 and 4.3.10 are now available from Maven Central repository.

Versions 5.0.4 and 4.3.10 are drop-in replacements for their respective previous patch releases and come with bug fixes, documentation improvements and dependency updates. You can find the complete list of changes in the release notes: 5.0.4 and 4.3.10.

This blog post is more about Spring Batch 5.1, which includes a number of improvements and new features:

  • Dependencies upgrade
  • Virtual Threads support
  • Memory management improvement in the JpaItemWriter
  • New synchronized decorators for item readers and writers
  • New cursor-based MongoItemReader
  • Bulk inserts support in MongoItemWriter
  • New item reader and writer for Redis
  • Automatic configuration of JobRegistryBeanPostProcessor
  • Ability to start a job flow with a decision
  • Ability to provide a custom JobKeyGenerator
  • MongoDB Job Repository (Experimental)
  • Composite Item Reader (Experimental)
  • New documentation based on Antora
  • Revamped samples
  • Enhanced issue reporting guide

Spring Batch 5.1 RC1 is out!

Releases | October 18, 2023 | ...

I am pleased to announce that the first release candidate of Spring Batch 5.1 is now available from our milestone repository.

The main theme of this release is improving the getting started experience of our users. This blog post walks you through the main improvements:

  • Updated getting started guides
  • Revamped samples
  • Enhanced issue reporting guide
  • Dependencies upgrades

For the complete list of changes, please check the release notes.

Updated getting started guides

The Getting started guide has been around for a long time and served well as a showcase of how to use Spring Batch with Spring…

Spring Batch 5.1.0-M3 available now!

Releases | September 20, 2023 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce that Spring Batch 5.1.0-M3 is now available from our milestone repository.

This new milestone introduces the following main features:

  • Dependencies upgrade
  • New item reader and writer for Redis
  • Automatic configuration of JobRegistryBeanPostProcessor
  • Ability to start a job flow with a decision
  • Ability to provide a custom JobKeyGenerator
  • New documentation based on Antora

For the complete list of changes, please check the release notes.

Dependencies upgrade

This milestone release upgrades Spring dependencies to the…

Spring Batch 5.1.0-M2, 5.0.3 and 4.3.9 available now!

Releases | August 23, 2023 | ...

I am pleased to announce that Spring Batch 5.1.0-M2, 5.0.3 and 4.3.9 are available now! Versions 5.0.3 and 4.3.9 are patch releases that come with a number of bug fixes, improvements and dependencies updates. You can find the release notes of each version here: 5.0.3 and 4.3.9.

This blog post is mainly about the new milestone of Spring Batch 5.1, which introduces the following main features:

  • Dependencies upgrade
  • New cursor-based MongoItemReader
  • Bulk inserts support in MongoItemWriter

For the complete list of changes, please check the release notes.

Dependencies upgrade

This milestone release…

Spring Batch 5.1.0-M1 available now!

Releases | July 19, 2023 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce that the first milestone of Spring Batch 5.1 is now available from our milestone repository.

This milestone release comes with the following features:

  • Dependencies upgrade
  • Virtual Threads support
  • Memory management improvement in the JpaItemWriter
  • New synchronized decorators for item readers and writers

This blog post walks through these features in more details. For the complete list of changes, please check the release notes.

Dependencies upgrade

This milestone release upgrades Spring dependencies to the…

Spring Batch 5.0.2 available now!

Releases | May 17, 2023 | ...

I am pleased to announce that Spring Batch 5.0.2 is now available from Maven Central.

This release resolves 25 issues, including bug fixes, enhancements, documentation updates and dependency updates. For more details about the changes, please refer to the change log.

I would like to thank all contributors who had a role in this release!

Feedback

We look forward to your feedback on Github Issues, Github Discussions, Twitter, and StackOverflow.

Spring Batch Home|Source on Github|Reference documentation

Spring Batch 5.0.1 and 4.3.8 available now

Releases | February 22, 2023 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce that Spring Batch 5.0.1 and 4.3.8 have been released to Maven Central.

These patch releases come with a number of bug fixes, enhancements, and dependency updates. For more details about the changes, please refer to the change logs: 5.0.1 and 4.3.8.

These versions will be shipped with Spring Boot 3.0.3 and 2.7.9 respectively. I would like to thank all contributors who had a role in these releases! We look forward to your feedback on Github, Twitter, and StackOverflow.


Spring Batch Home | Source on Github |

Spring Batch 5.0 Goes GA!

Releases | November 24, 2022 | ...

It is finally here! Spring Batch 5.0 is now generally available from Maven Central. Spring Batch 5 is the culmination of two years of work, including dozens of improvements, features, and bug fixes by more than 50 contributors! On Behalf of the team, I would like to thank ALL contributors who had a role in this huge release!

This blog post walks through the major highlights of this new generation of the framework. You can find the details of all the changes in the release notes and the upgrade instructions in the migration guide.

What's new?

  • New Java version baseline
  • Major dependencies upgrade
  • Full GraalVM native support
  • Introduction of the new Observation API from Micrometer
  • Execution context Meta-data improvement
  • New default execution context serialization format
  • SystemCommandTasklet enhancements
  • Add support to use any type as a job parameter
  • Improved job parameters conversion
  • New Annotation Attributes in EnableBatchProcessing
  • New Configuration Class for Infrastructure Beans
  • Transaction Support in JobExplorer and JobOperator
  • Automatic registration of a JobOperator with EnableBatchProcessing
  • Test utilities configuration updates

Spring Batch 5.0 RC2 available now

Releases | November 09, 2022 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce that the second and final release candidate of Spring Batch 5 is now available from our milestone repository.

In this release, we worked on the following items:

  • Full MariaDB support
  • Native support improvements
  • Observability improvements

This blog post walks through these changes in details. For the complete list of changes, please check the release notes.

Full MariaDB support

Up until v4.3, Spring Batch provided support for MariaDB by considering it as MySQL. In this release, MariaDB is now treated as a separate database product with its own DDL script and DataFieldMaxValueIncrementer

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all