Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 12-08-2016 09:22 AM
Hi,
I have a HttpInvoke with auto-terminate relationship on failure, retry, noretry, original
also scheduled to run every 1 hr
if there is a failure will it affect the scheduling? I saw some error messages on the processor, not sure if auto terminate affected the scheduling.
Thanks,
Avijeet
Created 12-08-2016 01:13 PM
It doesn't affect scheduling, it's a normal (failure) path for your data. When one auto-terminates a relationship it means that a FlowFile which was routed there is dropped and finishes its life in the flow (but still remains for some time in provenance/content repositories for history).
Created 12-08-2016 01:13 PM
It doesn't affect scheduling, it's a normal (failure) path for your data. When one auto-terminates a relationship it means that a FlowFile which was routed there is dropped and finishes its life in the flow (but still remains for some time in provenance/content repositories for history).
Created 12-08-2016 03:21 PM
Adding on to @Andrew Grande's response. Auto-terminating a relationship does not itself affect scheduling at all. That said, if a FlowFile is routed to certain relationships the processor may yield itself or penalize the FlowFile. For an explanation for "yield" and "penalize" I'd suggest reading the "settings-tab" subsection of the Apache NiFi User guide[1].
For InvokeHttp, when a FlowFile is routed to the failure relationship and the processor is a source processor (no input connections) it will yield itself. If there is an input connection then it will just penalize the FlowFile.
[1] https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#settings-tab
Created 12-08-2016 03:48 PM
Hi @jpercivall Thanks for your help, let me read and understand.