I am getting bulk data from input(1GB),with the format of JSON and I converted into Flat file.I need to split this data based on size(10MB) using groovy script.
Anyone can suggest how to do it?
I am not sure whether you can define the file size during runtime and split based on size. The best practice is to batch them into desired size using a Flow control shape.
Retrieving data ...