Re: Lifecycle of a Processor instance

2017-09-19 Thread Mark Payne
Peter, What you outlined here is all correct, with a small exception. If you have multiple versions of the same processor loaded into your flow (applicable only to 1.3, or perhaps 1.2?), you will also see the Processor class re-instantiated when you right-click on a Processor and choose to chan

Lifecycle of a Processor instance

2017-09-18 Thread Peter Wicks (pwicks)
There had been a lot of internal discussions at work about the actual life cycle of the class instance instantiated by NiFi; and the variables scoped at the class level. When do Processors "reset", are new instances created for each run, or are instances recycled? What about concurrent threads a