Forum Discussion
@mtran21,
Zip File Writer puts all binary input files into one zipped file, a workaround for this I think it would be if you create a child pipeline with binary input and in that pipeline put the Zip File Writer snap.
Here I use a MultiFile Reader.
The configuration of the mapper stays the same. But now instead of using a zip file writer you use a pipeline execute to execute the child pipeline. The configuration of the pipeline execute is really straightforward, just choose the child pipeline and pass the ‘count’ parameter with a value ‘snap.in.totalCount’, this function counts the number of input documents.
Then in the child pipeline just add the zip file writer snap.
Here ‘_count’ refers to the parameter passed from the parent pipeline.
Result would be:
This will create x number of zip files for every input document.
Hope this answers your question.