Hi Team,
With Spring Boot version 2.7.x, task executor job launcher by default used a synchronous task executor. But with Spring boot version upgrade to 3.3.x we found that by default it was using async task executor and we have to expicitly set task executor to be Sync.
Reference Documentation(which mentions by default task executor to be Sync): https://docs.spring.io/spring-batch/docs/5.1.0-RC1/org/springframework/batch/core/launch/support/TaskExecutorJobLauncher.html
Please check if this docs version update issue based on spring boot version or an issue with spring batch with spring boot 3.3.x
Comment From: wilkinsona
But with Spring boot version upgrade to 3.3.x we found that by default it was using async task executor
This isn't what I see with Spring Boot 3.3.x where the executor continues to be a SyncTaskExecutor as far as I can tell.
If you would like us to spend some more time investigating, please spend some time providing a complete yet minimal sample that reproduces the problem. You can share it with us by pushing it to a separate repository on GitHub or by zipping it up and attaching it to this issue.
Comment From: payalsaraljain
Sure, will zip it here
Comment From: spring-projects-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spring-projects-issues
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.