<?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: How can i see the Content of Flowfiles in queue using API in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-can-i-see-the-Content-of-Flowfiles-in-queue-using-API/m-p/362949#M238875</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/99493"&gt;@samrathal&lt;/a&gt;&amp;nbsp;Per the docs you need to provide the ID:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="title"&gt;Request&lt;/DIV&gt;&lt;DIV class="mediatypes details"&gt;&lt;DIV class="mediatype"&gt;&lt;DIV class="title"&gt;consumes:&lt;/DIV&gt;&lt;DIV class="mono"&gt;*/*&lt;/DIV&gt;&lt;DIV class="clear"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Name Location Type Description&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;id&lt;/TD&gt;&lt;TD&gt;path&lt;/TD&gt;&lt;TD&gt;string&lt;/TD&gt;&lt;TD&gt;The connection id.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;flowfile-uuid&lt;/TD&gt;&lt;TD&gt;path&lt;/TD&gt;&lt;TD&gt;string&lt;/TD&gt;&lt;TD&gt;The flowfile uuid.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;clusterNodeId&lt;/TD&gt;&lt;TD&gt;query&lt;/TD&gt;&lt;TD&gt;string&lt;/TD&gt;&lt;TD&gt;The id of the node where the content exists if clustered.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;You should be getting that ID from the previous get call (&lt;SPAN&gt;Gets a FlowFile from a Connection&lt;/SPAN&gt;) within the&lt;/P&gt;&lt;P&gt;response is an object:&amp;nbsp;&lt;/P&gt;&lt;H3&gt;FlowFileEntity&lt;/H3&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inside is the&amp;nbsp;&lt;SPAN class="open-object"&gt;"clusterNodeId"&amp;nbsp;&lt;/SPAN&gt;corresponding to which node that flowfile exists on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;{ "flowFile": &lt;/SPAN&gt;&lt;SPAN class="nested"&gt;&lt;SPAN class="nested-example"&gt;&lt;SPAN class="open-object"&gt;{ "uri": "value"&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "uuid": "value"&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "filename": "value"&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "position": 0&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "size": 0&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "queuedDuration": 0&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "lineageDuration": 0&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "penaltyExpiresIn": 0&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "clusterNodeId": "value"&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "clusterNodeAddress": "value"&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "attributes": { "name": "value" }&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "contentClaimSection": "value"&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "contentClaimContainer": "value"&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "contentClaimIdentifier": "value"&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "contentClaimOffset": 0&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "contentClaimFileSize": "value"&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "contentClaimFileSizeBytes": 0&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "penalized": true }&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Those details are exposed in the nifi api doc, just be sure to click into the entity.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Feb 2023 14:40:28 GMT</pubDate>
    <dc:creator>steven-matison</dc:creator>
    <dc:date>2023-02-02T14:40:28Z</dc:date>
    <item>
      <title>How can i see the Content of Flowfiles in queue using API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-i-see-the-Content-of-Flowfiles-in-queue-using-API/m-p/362931#M238871</link>
      <description>&lt;P&gt;Hi, I have a use case, where i have to see the content of each FlowFiles by triggering the API call.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;API i have explored so far :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;https://&amp;lt;URL&amp;gt;/nifi-api/flowfile-queues/&amp;lt;Queue-ID&amp;gt;/flowfiles/&amp;lt;FlowFile-UUID&amp;gt;/content&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the response as below :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"The id of the node in the cluster is required."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note : My NiFi is setting up in three node cluster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 12:28:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-i-see-the-Content-of-Flowfiles-in-queue-using-API/m-p/362931#M238871</guid>
      <dc:creator>samrathal</dc:creator>
      <dc:date>2023-02-02T12:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can i see the Content of Flowfiles in queue using API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-i-see-the-Content-of-Flowfiles-in-queue-using-API/m-p/362949#M238875</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/99493"&gt;@samrathal&lt;/a&gt;&amp;nbsp;Per the docs you need to provide the ID:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="title"&gt;Request&lt;/DIV&gt;&lt;DIV class="mediatypes details"&gt;&lt;DIV class="mediatype"&gt;&lt;DIV class="title"&gt;consumes:&lt;/DIV&gt;&lt;DIV class="mono"&gt;*/*&lt;/DIV&gt;&lt;DIV class="clear"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Name Location Type Description&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;id&lt;/TD&gt;&lt;TD&gt;path&lt;/TD&gt;&lt;TD&gt;string&lt;/TD&gt;&lt;TD&gt;The connection id.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;flowfile-uuid&lt;/TD&gt;&lt;TD&gt;path&lt;/TD&gt;&lt;TD&gt;string&lt;/TD&gt;&lt;TD&gt;The flowfile uuid.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;clusterNodeId&lt;/TD&gt;&lt;TD&gt;query&lt;/TD&gt;&lt;TD&gt;string&lt;/TD&gt;&lt;TD&gt;The id of the node where the content exists if clustered.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;You should be getting that ID from the previous get call (&lt;SPAN&gt;Gets a FlowFile from a Connection&lt;/SPAN&gt;) within the&lt;/P&gt;&lt;P&gt;response is an object:&amp;nbsp;&lt;/P&gt;&lt;H3&gt;FlowFileEntity&lt;/H3&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inside is the&amp;nbsp;&lt;SPAN class="open-object"&gt;"clusterNodeId"&amp;nbsp;&lt;/SPAN&gt;corresponding to which node that flowfile exists on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;{ "flowFile": &lt;/SPAN&gt;&lt;SPAN class="nested"&gt;&lt;SPAN class="nested-example"&gt;&lt;SPAN class="open-object"&gt;{ "uri": "value"&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "uuid": "value"&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "filename": "value"&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "position": 0&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "size": 0&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "queuedDuration": 0&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "lineageDuration": 0&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "penaltyExpiresIn": 0&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "clusterNodeId": "value"&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "clusterNodeAddress": "value"&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "attributes": { "name": "value" }&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "contentClaimSection": "value"&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "contentClaimContainer": "value"&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "contentClaimIdentifier": "value"&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "contentClaimOffset": 0&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "contentClaimFileSize": "value"&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "contentClaimFileSizeBytes": 0&lt;SPAN class="comma"&gt;,&lt;/SPAN&gt; "penalized": true }&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Those details are exposed in the nifi api doc, just be sure to click into the entity.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 14:40:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-i-see-the-Content-of-Flowfiles-in-queue-using-API/m-p/362949#M238875</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2023-02-02T14:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can i see the Content of Flowfiles in queue using API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-i-see-the-Content-of-Flowfiles-in-queue-using-API/m-p/362960#M238878</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp;Yes, I have the &lt;SPAN&gt;clusterNodeId&lt;/SPAN&gt;, but not understand where to fit in this API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please share the dummy API&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 16:40:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-i-see-the-Content-of-Flowfiles-in-queue-using-API/m-p/362960#M238878</guid>
      <dc:creator>samrathal</dc:creator>
      <dc:date>2023-02-02T16:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can i see the Content of Flowfiles in queue using API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-i-see-the-Content-of-Flowfiles-in-queue-using-API/m-p/363041#M238901</link>
      <description>&lt;P&gt;Hi Everyone, the API would be :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GET https://&amp;lt;URL&amp;gt;/nifi-api/flowfile-queues/&amp;lt;id&amp;gt;/flowfiles/&amp;lt;flowfile-uuid&amp;gt;/content?clusterNodeId=&amp;lt;clusterNodeId&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'll get the content of the FlowFile in the queue.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 09:57:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-i-see-the-Content-of-Flowfiles-in-queue-using-API/m-p/363041#M238901</guid>
      <dc:creator>samrathal</dc:creator>
      <dc:date>2023-02-03T09:57:16Z</dc:date>
    </item>
  </channel>
</rss>

