<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: What is the best way to decompress/extract different types of incoming files in Apache Nifi? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-way-to-decompress-extract-different-types/m-p/191692#M153773</link>
    <description>&lt;P&gt;Thanks so far.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;But do I still need both processors (UnpackContent and CompressContent) for my use case?  &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;I am not sure how it should work out: If I add an attribute mime.type, will the UnpackContent processor get what I want?&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;I tried to set the mime.type attribute to application/${filename:substringAfterLast('.') and it extracted .zip and .tar succesfully, but I still got those compressed .gz files. &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;It looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="42502-unpackcontent.png" style="width: 807px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18404i7E7705F90937E996/image-size/medium?v=v2&amp;amp;px=400" role="button" title="42502-unpackcontent.png" alt="42502-unpackcontent.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 07:24:33 GMT</pubDate>
    <dc:creator>onestoneh</dc:creator>
    <dc:date>2019-08-18T07:24:33Z</dc:date>
  </channel>
</rss>

