Under processor configuration you can set Scheduling > Run Schedule > 1 sec
to control how often it is scheduled to run by the framework. Does that
address the need?

On Thu, Aug 13, 2015 at 1:19 PM, Ryan Hendrickson <
rhendrickson.w...@gmail.com> wrote:

> I have always stayed away from doing any threading inside a NiFi processor.
>
> However, I recently came across a use-case where I'm calling a web service
> from within a custom Nifi Processor and I don't want to overwhelm the web
> service.
>
> I'd like to instrument a sleep in the onTrigger() or process() method of
> about 1 second, or a configurable amount.
>
> Is there a pattern established for Nifi Processors to accomplish this
> nicely?
>
> Thanks,
> Ryan
>

Reply via email to