title: Spring Batch Process ZipEntries in a ZipFile in parallel
body: <p>I have a Zip file that has many entries, I want to process it with Spring Batch. Reading the documentation I've not seen how can I split execution based on zip entry. </p>
  
  <p>Without Spring Batch </p>
  
  <pre><code>ZipFile zipFile = new ZipFile("./large-files.zip"); 
          Enumeration&lt;? extends ZipEntry&gt; entries = zipFile.entries();
          int entriesCount = 0;
          while (entries.hasMoreElements()) {
              entriesCount++;
              processInParallel(zipFile, entries.nextElement());
             // executorService.submit(()-&gt; { //do something with entries.nextElement() }); 
          }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/bP2pz.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bP2pz.jpg" alt="enter image description here"></a></p>
  
  <p>How can I acheive this with Spring Batch ? </p>