James- thanks for the comment. I've been hacking on this all day and think I
have the python written to do what I need. I have just one follow up
question as I'm new to the ExecuteScript processor.
-What do I do on exception? Some of the cookbook example scripts seem to
print to traceback:
except:
traceback.print_exec(file=sys.stdout)
raise
...but I'm curious what you should do in a production environment. Instead
of raising the exception, should you instead transfer the session to
REL_FAILURE? Or maybe raising the exception automatically transfers to
REL_FAILURE?
Also- I'm guessing that in the real world you'd probably write that
exception to some logger, rather than stdout correct?
--
View this message in context:
http://apache-nifi-developer-list.39713.n7.nabble.com/Dynamic-attributes-on-repeating-capture-groups-tp16540p16565.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.