Description
Hello!
When I use batch processor for inserting data to Mongo, if I get some error like "write errors: [BulkWriteError
{index=0, code=11000, message='E11000 duplicate key error collection" flow file is not routed to the failure relationship, but processor tries to repeat data process. I think it depends on this part of source code:
catch (SchemaNotFoundException | IOException | MalformedRecordException e)
Apparently the exception is not caught:
I think it is not normal processor behavior.
Attachments
Issue Links
- links to