Jun 23rd, 2009, 09:55 AM
How to integrate with Sprint Batch Integration or other Grid Computing technologies
Hello Gurus/Senior Members,
My requirement is to process millions of records. Each of the record involves some complex processes before updating to database. Hence we thought of using partitioned approach to run on different JVMs.
In Spring Batch Documentation I found that, Spring Batch Integration sub project can be used to accomplish this. However I could not find any other documentation on this.
Could you please guide/direct me to right resource which can help me in setting up batch jobs to run in partitioned mode and make use of multi JVMs.
Your help in this regard is much appreciated.
Jun 25th, 2009, 12:27 PM
Spring Batch Integration docs are at http://static.springframework.org/sp...h-integration/. The remote chunking invocation pattern you are talking about that was mentioned in the main User Guide is implemented in the ChunkMessageChannelItemWriter (and friends in teh same package).
Remote chunking is not the only way to go about remote step execution. The PartitionHandler SPI is also available, as per the User Guide There is even an implementation in Spring Batch Integration (MessageChannelPartitionHandler).
I am going to write an article on Spring Batch Integration when I get time to try and raise awareness and get more people to use it. In the meantime, look at the website and the source code (including unit tests) to learn about the project.
Jun 25th, 2009, 11:55 PM
Much Thanks Dave,
Unfortunately I don't see downloadable package for SPI or the source code. Could you please let me know from where I can download the same? Thanks.
Jun 26th, 2009, 01:21 AM
PartitionHandler is part of Spring Batch. The Integration project is in SVN alongside the other Batch projects - look for the source control link on the main website.
Jun 29th, 2009, 05:27 AM
I downloaded the Spring Batch Integration 1.0.2 from Spring Source download page. I could not find the reference of MessageChannelPartitionHandler. Could you please let me know where I can find it? Thanks.
Jun 29th, 2009, 11:27 AM
Jul 31st, 2009, 08:44 AM
Did you get a chance to write an article on Spring Batch Integration? If yes can you share me article's URL?
Jul 31st, 2009, 11:58 AM
Still gestating. I'll post the link when I get round to it.
Dec 16th, 2009, 07:30 AM
Originally Posted by Dave Syer
We have the same requirements here and we are currently evaluating Spring Batch. I believe that you would get more traction for the Spring batch integration module if it was available as a Maven artifact just the same way as other jars. I am fine with building the source (I did) but integrating this in our PoC requires me to deploy the lib in our corporate repo, checkout the tag corresponding to the version we use (2.0.4 / 2.1M3), etc.
Dec 16th, 2009, 09:40 AM
Spring Batch Integration is available as a Maven artifact in 2.1.0 milestones (I only published it in Maven Central style because that's what most people use). It might get folded into Spring Batch Admin before a release of 2.1, but it will be available as a GA release at some point soon.
Tags for this Thread