I have the following Nifi Flow:
QueryDatabaseTable -> AvroToJSON -> SplitJSON -> ExtractText (write value to attribute) -> FetchDistributedMapCache (check if the attribute is available in cache, which is set in another flow) -> UpdateRecord (Rename some fields) -> MergeContent -> PutDatabaseRecord
And sometimes this error occurs:
![107383-1553508348080.png 107383-1553508348080.png](https://community.cloudera.com/t5/image/serverpage/image-id/14361i9636CCAC386B0698/image-size/medium?v=v2&px=400)
The FlowFile is not routed to failure, but kept in the queue and the Processor is now stuck in an endless loop trying to process the faulty FlowFile.
When i skip the MergeContent/MergeRecord Processor and just write to the database for each record this error does not occurr, but writing for each object is very slow.
Why does this happen? How can I debug this?