spring-batch icon indicating copy to clipboard operation
spring-batch copied to clipboard

Spring Batch is a framework for writing batch applications using Java and Spring

Results 361 spring-batch issues
Sort by recently updated
recently updated
newest added
trafficstars

This was initially discussed with @Nhoutain in https://github.com/spring-projects/spring-batch/discussions/4831 Abrupt shutdowns of Spring Batch jobs leave the job execution in a running status at the job repository level as Spring Batch...

type: feature
in: core

Following Spring Framework 7 (see https://github.com/spring-projects/spring-framework/issues/33798), Spring Batch should support Jackson 3 by default. This means `Jackson2ExecutionContextStringSerializer` should be renamed (by removing the version number from the name) and updated...

type: feature
in: core

When use Jackson2ExecutionContextStringSerializer, KafkaItemReader always encountered an ClassCastException. Because KafkaItemReader stores a Map in the ExecutionContext, Jackson2ExecutionContextStringSerializer forces all map keys to String. So I change it to store only...

1. Use SQL order by clause instead of Java Comparator 2. Limit result set size to 1

status: feedback-provided

Hi. I use MySQL for JobRepository. It serialize ExecutionContext as String by JacksonObjectMapper. It seems to forcing to `Map`'s key type must be `String`. (`Map`) You can see [this](https://github.com/spring-projects/spring-batch/blob/master/spring-batch-core/src/main/java/org/springframework/batch/core/repository/dao/Jackson2ExecutionContextStringSerializer.java#L130). For...

type: bug
in: core

[1]: https://github.com/spring-projects/spring-batch/blob/main/CONTRIBUTING.md Changes: * A comment line was unecessarily split, this PR seeks to improve the readability and clean that line comment up

pr-for: enhancement
status: feedback-provided

Fixes: #4860 ## What is the problem - Forced Sort Passing via sorts() Method When Building with MongoCursorItemReaderBuilder and Query ## What I Did - Fix MongoCursorItemReaderBuilder sorts field validation...

**Bug description** When building a MongoCursorItemReader using MongoCursorItemReaderBuilder with a Query object, the jsonQuery is null in MongoCursorItemReader.doOpen(), so it uses the passed Query. In this case, MongoCursorItemReader.createQuery() is not...

status: waiting-for-triage
type: bug

As of v5.2, the prerequisite for using MongoDB as a job repository is not documented in details in the [Configuring a JobRepository](https://docs.spring.io/spring-batch/reference/job/configuring-repository.html) section. There is a note about that in...

in: documentation
type: bug
for: backport-to-5.2.x

Resolves https://github.com/spring-projects/spring-batch/issues/4851