Re: Stopping processor after MAX number of retries

2021-03-01 Thread Matt Burgess
There's an example template on the Example Dataflow Templates page [1] called Retry_Count_Loop.xml [2], not sure what components it uses though. Regards, Matt [1] https://cwiki.apache.org/confluence/display/NIFI/Example+Dataflow+Templates [2]

Re: Stopping processor after MAX number of retries

2021-03-01 Thread James McMahon
Any recommended examples of successful DistributedMapCache implementations? On Fri, Feb 26, 2021 at 11:30 AM Andrew Grande wrote: > I saw it several times and I have a strong conviction this is an > anti-pattern. A dataflow must not mess with start/stop state of processors > or process groups.

Re: Stopping processor after MAX number of retries

2021-02-26 Thread Andrew Grande
I saw it several times and I have a strong conviction this is an anti-pattern. A dataflow must not mess with start/stop state of processors or process groups. Instead, a flow is always running and one puts a conditional check to either not get the data in or reroute/deny it. If you need to

Stopping processor after MAX number of retries

2021-02-26 Thread Tomislav Novosel
Hi guys, I want to stop the processor after exceeding maximum number of retries. For that I'm using RetryFlowFile processor, after 5 times of retry, it routes flowfile to retries_exceeded. When that kicks in, I want to stop the processor which was retried 5 times. What is the best approach? I