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.
Error trace
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])
BasicFieldSplitProcessor is my custom processor, it is modified version of ReplaceText.
Config of "Field Split out queue"
- FlowFile expiration Info:120 sec
- Back pressure object threshold Info:500000
- Back pressure data size threshold Info:200 MB