You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Midhun Mohan <mi...@esginc.us> on 2020/02/25 20:31:25 UTC

Invokehttp

Hi
I have an implementation that calls the INVOKEHTTP processor more than 10
times in a minute. So if the endpoint in processor fails suddenly. Would I
be able to reprocess the failed message on a priority basis before the next
message? If so please let me know how can I do that

--

Re: Invokehttp

Posted by Emanuel Oliveira <em...@gmail.com>.
yes, just be sure to handle the 3 types of errors, keep them in a closed
loop, eventually logging if you want.
- retry - retry block here
- the other 2 types of error dont make sense to repeat straight away, but
you can always keep them in closed loop as well if you think  its ok.

important not with invokehttp but with any nifi processor is to check and
process all possible outgoing relationships, and not just the "good" path
as most junior developers tend to do.

Best Regards,
*Emanuel Oliveira*



On Tue, Feb 25, 2020 at 8:31 PM Midhun Mohan <mi...@esginc.us> wrote:

> Hi
> I have an implementation that calls the INVOKEHTTP processor more than 10
> times in a minute. So if the endpoint in processor fails suddenly. Would I
> be able to reprocess the failed message on a priority basis before the next
> message? If so please let me know how can I do that
>
> --
>