25 questions
0
votes
0
answers
81
views
Partitioned batch intermittently delays In Message Processing
We run through a series of Spring Batch jobs, some normal some partitioned around a cluster. (still on Spring Batch 4.3.10). After a while (sometimes takes a couple of runs) we observe delays in the ...
0
votes
1
answer
107
views
Spring Batch Remote Partitioning: Worker replies reach channel but manager never receives them
I'm implementing Spring Batch remote partitioning with Spring Integration and Kafka as a middleware. Worker replies successfully arrive at the managerInboundReplies channel (confirmed via interceptor ...
0
votes
3
answers
95
views
spring-batch: AsyncItemProcessor: how can one have JobListener methods called in delegates?
In the spring-batch-integration documentation https://docs.spring.io/spring-batch/reference/spring-batch-integration/sub-elements.html#asynchronous-processors for AsyncItemProcessor, the example shows ...
0
votes
1
answer
296
views
How to configure asynchronous processors with StepBuilder in Spring batch v5.2
StepBuilderFactory is deprecated and scheduled for removal in v5.2 in favor of using the StepBuilder.
I use StepBuilder to build my steps. Now I want to implement asynchronous processors using ...
0
votes
1
answer
131
views
Scaling Spring Batch application with 30 Batch jobs
I’m working with a Spring Batch app that has around 30 jobs. Some jobs are dependent on others (e.g., Job B only runs after Job A completes), and all jobs run sequentially for ~500 accounts. To ...
1
vote
1
answer
151
views
Spring Batch 5 : Failing with Caused by: java.time.format.DateTimeParseException: Text 'date' could not be parsed at index 0
Recently , I have migrated our application to java 17 with Spring 5.1.2 so Spring batch also got migrated from v4 to v5.
Did the necessary changes as mentioned in guide book.
However, During the first ...
0
votes
1
answer
465
views
Spring batch job restart after server crash fails as job registry does not contain job after upgrade to spring batch core jar to 5.12
Spring batch partition job which would have been in STARTED status due to server crash.
Now if we change the status of both job execution and stop from STARTED to FAILED and call jobOperator.restart(...
0
votes
1
answer
81
views
Consume only one message and execute remote step
I am doing a Spring Batch application that have manager and worker using remote partitioning with ActiveMQ Arterims. I want my worker only consume the message from queue when its finished the remote ...
0
votes
1
answer
117
views
File monitoring and processing using spring batch integration
I am currently learning spring-batch-integration, and for that purpose I wanted to create an application that monitor a txt file in a specified directory, then if the file exists launch a batch job ...
0
votes
0
answers
88
views
In Spring Batch Integration, the javadoc for MessageChannelPartitionHandler says to make it a job or step scoped bean. How does this work in XML?
Description of problem:
In testing, I realized that I had a globally scoped bean "partitionHandler" of type o.s.b.i.p.MessageChannelPartitionHandler that needed to be step scoped.
When I ...
0
votes
1
answer
834
views
Spring Batch remote-partitioning worker-job not reading data from middleware
I wanted to checkout the remote partitioning setup in Spring Batch. I am using Spring Boot v2.7.2 & Kafka as middleware. I have used the ColumnRangePartitioner from the Spring Batch samples
I am ...
0
votes
0
answers
396
views
How to delegate Spring Integration Message Payload to Spring Batch Job?
I have an FTP Streaming Inbound Channel Adapter from Spring Integration which produces message with payloads of type InputStream, letting files be fetched without writing to the local file system.
@...
1
vote
1
answer
248
views
How to configure channels and AMQ for spring-batch-integration where all steps are run as slaves on another cluster member
Followup to Configuration of MessageChannelPartitionHandler for assortment of remote steps
Even though the first question was answered (I think well), I think I'm confused enough that I'm not able to ...
1
vote
0
answers
996
views
spring Batch process is running automatically even with the spring.batch.job.enabled=false flag
My Goal : Prevent batch Job from lunching while project startup.
I want to run a batch job from spring boot project once in every one hour using @scheduled annotation. However the job is starting as ...
0
votes
1
answer
478
views
Spring Batch Integration idle behavior during polling remote SFTP
I'm using Spring Batch Integration for polling and process a SFTP server, we receive thousands of XMLs files (between 50MB ~ 200MB each file).
Actually I'm running 6 instances of my app to process ...