Also, for core NiFi there is a wiki page where Mark documented some ideas around event based processors:
https://cwiki.apache.org/confluence/display/NIFI/Event+Processor I would think this could be applicable for MiNiFi Java as well, but not sure. On Fri, Jan 6, 2017 at 10:03 AM, Aldrin Piri <[email protected]> wrote: > Hey Andy, > > Your inspection would prove correct and it does not appear we have a JIRA > as of yet either. If you would be interested in creating one, please do, > otherwise I shall see to it that it gets added. > > We are still working to get some of the more foundational framework > components established but certainly can see how this would be helpful. > Definitely should track this so that it isn't lost in the shuffle and the > framework can be refactored to support it. > > Thanks! > --aldrin > > On Fri, Jan 6, 2017 at 9:56 AM, Andrew Christianson < > [email protected]> wrote: > > > We noticed that MiNiFi currently only supports timer-based scheduling. > > Looking at the code, one could set the timer interval to 0, but this > would > > result in a hot loop burning 100% of a core. As such, there seems to be > no > > way presently to have flow file records processed as soon as incoming > > records populate the queue. Further, it looks like the FlowController > code > > is hard-coded against the timer-based scheduling agent, and unfortunately > > there is no obvious way to plug-in an alternative scheduler. > > > > Are there any near/mid-term plans to implement event-based scheduling? > > > > -Andy > > >
