Relative Content

Tag Archive for javaspringspring-batch

Why are Spring converters package protected?

In Spring Batch, job parameters are converted from strings to the declared type, using a JobParametersConverter. The default implementation wraps a (Spring Core) ConversionService, which actually converts the arguments passed.

AggregateMongoItemReader to perform mongoDb aggregations

for a work project i needed to perform aggregations in mongodb using spring batch, so a MongoItemReader which enables to perform aggregations using the aggregation framework. The idea is to use this reader whenever there is the need to aggregate data from mongoDB collections in reader phase.

Is it possible to monitor Spring Batch job while running?

I have Spring Batch application with implemented Manager/Worker(s) pattern instances which manager start the job and worker do the steps based for a job. So the manager right now it is creating partitions with Partitioner.class and some logic inside and the worker run all of those partitioners.