<?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/191691#M153772</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/48241/onestoneh.html" nodeid="48241"&gt;@Salda Murrah&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can set the "Compression format" to "use mime.type". This way, the processor will look for an attribute called mime.type and dynamically infer the format and hence the decompression algorithm.&lt;/P&gt;&lt;P&gt;For this to work, you need to use an UpdateAttribute to add an attribute mime.type and set it's value following your logic. Keep in mind that UpdateAttribute have rules logic in the advanced configuration that can be useful for your use case : &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-update-attribute-nar/1.4.0/org.apache.nifi.processors.attributes.UpdateAttribute/additionalDetails.html" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-update-attribute-nar/1.4.0/org.apache.nifi.processors.attributes.UpdateAttribute/additionalDetails.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2017 16:15:05 GMT</pubDate>
    <dc:creator>ahadjidj</dc:creator>
    <dc:date>2017-11-08T16:15:05Z</dc:date>
  </channel>
</rss>

