title: How does Nifi "Partition by Attribute" send FlowFiles to other Nifi nodes?
body: <p>I have 3 node in nifi cluster. I'm using <strong>"Partition by Attribute"</strong> for distribute flow files to other nifi nodes in nifi cluster. For example, i am using <strong>"type"</strong> attribute for "Partition by Attribute";</p>
  
  <pre><code>FlowFile -&gt; type: A
  FlowFile -&gt; type: B
  FlowFile -&gt; type: C
  </code></pre>
  
  <p>For this scenario, FlowFiles with the same "type" will go to the same node. But, suppose that one node(which the flow files with type A is sent) is down. While FlowFiles with "type B and C" will continue to be sent successfully, FlowFiles with "type A" will remain the queue(It will not be sent.).</p>
  
  <p>Meanwhile, <strong><em>a FlowFile with "type XY" is coming(first-time. means it's never came before)</em></strong>. In this case, is this incoming file only sent to nodes that actively receive data(nodes which FlowFiles with "type B and C" are sent)? Or, can it send it to the falling node?</p>
  
  <p>For example for this problem;</p>
  
  <pre><code>FlowFile -&gt; type: A -----&gt; Waiting in the queue
  
  FlowFile -&gt; type: B ------&gt; successfully sent
  
  FlowFile -&gt; type: C ------&gt; successfully sent
  
  and
  
  FlowFile -&gt; type: XY ------&gt; Which node can be sent to? (B or C ?)
  </code></pre>
  
  <p>I dont want that flowfile with type XY go to unavailable cluster queue.</p>