nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devin Fisher <devin.fis...@perfectsearchcorp.com>
Subject Rollbacks
Date Mon, 07 Mar 2016 22:00:21 GMT
Question about rollbacks. I have a processor that is grabbing a list of
FlowFiles from session.get(100). It will then process each flow file one at
a time.  I want to then be able if there is an error with a single FlowFile
to roll it back (and only this failed FlowFile) and transfer it to the
FAILED relationship. But reading the javadoc for ProcessSession I don't get
the sense that I can do that.

Is my workflow wrong, should I only get one at a time from the session and
commit after each one?

Devin

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message