NiFi StandardFlowFileRecord is not known in this session
<p>I am evaluating NiFi and have created a basic workflow, It listens a local directory, apply some transformations and then put the flow in kafka, But while putting message in kafka I am getting below error.</p>

<p>Error trace</p>

<pre><code>09:46:35 UTC ERROR1b6ae25f-e517-47d9-90a2-103109a47b90  localhost:10084

PutKafka[id=1b6ae25f-e517-47d9-90a2-103109a47b90] Failed to process session due to org.apache.nifi.processor.exception.FlowFileHandlingException: 
StandardFlowFileRecord[uuid=746f505e-54ec-4b9f-a970-1f88cda08a2e,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1455788674669-223, container=default, section=223], offset=0, length=131876],offset=0,name=1_edr_http_EAST.COMPLETED.9,size=131876] is not known in this session (StandardProcessSession[id=134420]): 
org.apache.nifi.processor.exception.FlowFileHandlingException: StandardFlowFileRecord[uuid=746f505e-54ec-4b9f-a970-1f88cda08a2e,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1455788674669-223, container=default, section=223], offset=0, length=131876],offset=0,name=1_edr_http_EAST.COMPLETED.9,size=131876] is not known in this session (StandardProcessSession[id=134420])
</code></pre>

<p>My workflow looks like
<a href="https://i.stack.imgur.com/2OUDw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2OUDw.png" alt="enter image description here"></a></p>

<p>BasicFieldSplitProcessor is my custom processor, it is modified version of ReplaceText.</p>

<p>Config of "Field Split out queue"</p>

<ul>
<li>FlowFile expiration  Info:120 sec</li>
<li>Back pressure object threshold 
Info:500000 </li>
<li>Back pressure data size threshold  Info:200 MB</li>
</ul>