PutSQL - Not enough FlowFiles for transaction. Returning all FlowFiles to queue, No incoming FlowFiles.


PutSQL is penalizing the queue and no exceptions are found in logs
2023-08-09 08:24:07,045 DEBUG [Timer-Driven Process Thread-5] o.apache.nifi.processors.standard.PutSQL PutSQL[id=8e5c441f-696c-3145-8ba0-67499ed29990] Not enough FlowFiles for transaction. Returning all FlowFiles to queue
2023-08-09 08:24:07,046 DEBUG [Timer-Driven Process Thread-5] o.apache.nifi.processors.standard.PutSQL PutSQL[id=8e5c441f-696c-3145-8ba0-67499ed29990] No incoming FlowFiles.
2023-08-09 08:24:07,047 DEBUG [Timer-Driven Process Thread-5] o.apache.nifi.processors.standard.PutSQL PutSQL[id=8e5c441f-696c-3145-8ba0-67499ed29990] Not enough FlowFiles for transaction. Returning all FlowFiles to queue
2023-08-09 08:24:07,047 DEBUG [Timer-Driven Process Thread-5] o.apache.nifi.processors.standard.PutSQL PutSQL[id=8e5c441f-696c-3145-8ba0-67499ed29990] No incoming FlowFiles.
I know if there is SQLException, Flowfile will be forwarded via failure else the flowfile will be added back to the queue for any other exception
In my case no exceptions are being listed in log file.
flow is GenerateFile(Json array with 10 Entires) -> SplitJson(splits Json into 10 flow files) -> EvaluteJsonPath(Adds attributes which are used in putSQL to insert data into DB) -> PutSQL.



