When I'm trying to extract Excel to .csv with ConvertExcelToCSVProcessor
I got an error:
IOException thrown from ConvertExcelToCSVProcessor[id=b2f4320e-902a-1b61-0000-00006ed1ed34]: java.io.IOException: Zip bomb detected! The file would exceed the max. ratio of compressed file size to the size of the expanded data. This may indicate that the file is used to inflate memory usage and thus could pose a security risk. You can adjust this limit via ZipSecureFile.setMinInflateRatio() if you need to work with files which exceed this limit. Uncompressed size: 16640363, Raw/compressed size: 166400, ratio: 0.010000 Limits: MIN_INFLATE_RATIO: 0.010000, Entry: xl/pivotCache/pivotCacheRecords1.xml
I read about this problem, for example: Using Apache POI - Zip Bomb detected. But How can I fix this with Apache NiFi? I should write own custom processor with this option?