<?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 NiFi Decompress Content after ListenHTTP in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Decompress-Content-after-ListenHTTP/m-p/170601#M132905</link>
    <description>&lt;P&gt;Here is my workflow&lt;/P&gt;&lt;P&gt;Data--&amp;gt;CompressContent(gzip, level 2) --&amp;gt; PostHTTP which post to the ListenHTTP endpoint&lt;/P&gt;&lt;P&gt;ListenHTTP--&amp;gt;CompressContent(gzip, level 2, for decompression) --&amp;gt; put file&lt;/P&gt;&lt;P&gt;For decompression i set compression format to gzip and level 2.  However when I look at the file post decompression it is still compressed. any ideas?&lt;/P&gt;&lt;P&gt;By the way, I tested the CompressContent process by doing this&lt;/P&gt;&lt;P&gt;Data --&amp;gt; CompressContent(gzip, level 2) --&amp;gt; (forDemcompress)CompressContent(gzip, level 2), and in both stages it compresses the data and decompresses with success.  This seems to be issue around ListenHTTP into CompressContent for decompression.&lt;/P&gt;</description>
    <pubDate>Sat, 11 Feb 2017 06:53:42 GMT</pubDate>
    <dc:creator>sunile_manjee</dc:creator>
    <dc:date>2017-02-11T06:53:42Z</dc:date>
    <item>
      <title>NiFi Decompress Content after ListenHTTP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Decompress-Content-after-ListenHTTP/m-p/170601#M132905</link>
      <description>&lt;P&gt;Here is my workflow&lt;/P&gt;&lt;P&gt;Data--&amp;gt;CompressContent(gzip, level 2) --&amp;gt; PostHTTP which post to the ListenHTTP endpoint&lt;/P&gt;&lt;P&gt;ListenHTTP--&amp;gt;CompressContent(gzip, level 2, for decompression) --&amp;gt; put file&lt;/P&gt;&lt;P&gt;For decompression i set compression format to gzip and level 2.  However when I look at the file post decompression it is still compressed. any ideas?&lt;/P&gt;&lt;P&gt;By the way, I tested the CompressContent process by doing this&lt;/P&gt;&lt;P&gt;Data --&amp;gt; CompressContent(gzip, level 2) --&amp;gt; (forDemcompress)CompressContent(gzip, level 2), and in both stages it compresses the data and decompresses with success.  This seems to be issue around ListenHTTP into CompressContent for decompression.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 06:53:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Decompress-Content-after-ListenHTTP/m-p/170601#M132905</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2017-02-11T06:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Decompress Content after ListenHTTP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Decompress-Content-after-ListenHTTP/m-p/170602#M132906</link>
      <description>&lt;P&gt;OK I found what i was doing wrong.  The posthttp processor has a compressionLevel attribute.  If you set this value to &amp;gt; 0 it will compress the content as gzip.  So no reason to compress prior to using posthttp if you are using gzip&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 10:49:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Decompress-Content-after-ListenHTTP/m-p/170602#M132906</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2017-02-11T10:49:25Z</dc:date>
    </item>
  </channel>
</rss>

