Also, static fields are scoped to the classloader, they are not global in a sense you described. NiFi uses classloader isolation for its processors.
Andrew On Mon, Aug 12, 2019, 12:24 AM Craig Knell <[email protected]> wrote: > Thanks > > Best regards > > Craig Knell > > Mobile 61 402128615 > Skype craigknell > > On 12 Aug 2019, at 13:57, Bryan Bende <[email protected]> wrote: > > Hello, > > The final static variables are usually the descriptors which are just the > definition of the properties. The actual values of the properties are > storied in a separate map per instance of the processor. > > -Bryan > > On Mon, Aug 12, 2019 at 12:03 AM Craig Knell <[email protected]> > wrote: > >> Hi Folks, >> >> I would like some assistance to clarify maybe some basic java and >> using Nifi processors. >> >> My Use Case is to run multiple instances of a custom processor with >> different settings, aka just about all processors in nifi operate this >> way. >> >> As processor properties are declared STATIC, and hence I believe a >> class variable , how is this managed in nifi with java, where there >> are multiple Processor Instance of a single class? >> >> -- >> Regards >> >> Craig >> > -- > Sent from Gmail Mobile > >
