Created on 08-17-2023 02:11 AM - edited 08-17-2023 02:14 AM
I have a template to do a post method using InvokeHTTP, there can be many number of post requests so, I want to pause the execution for 5 minutes after every 1000 flowfiles. Is it possible to get the count of flowfiles processed?
I tried creating a counter, but sadly I couldn't come up with a logic to increase the count.
I do not have any release signal identifier to use Wait processor.
please advise. Thanks in advance
Created 08-17-2023 05:37 AM
Hi @scoutjohn ,
Have you looked into ControlRate processor?
In your case the processor configuration would be something like this:
If that helps please accept solution.
Thanks
Created 08-17-2023 05:37 AM
Hi @scoutjohn ,
Have you looked into ControlRate processor?
In your case the processor configuration would be something like this:
If that helps please accept solution.
Thanks
Created 08-17-2023 06:29 AM
I think this is what I was trying to achieve, pause the execution for some time after processing 1000 flowfiles . Thank you