nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Witt <>
Subject Re: Java System Variables in NIFI
Date Thu, 03 Jan 2019 19:23:46 GMT

You can set your own custom properties in the file as
you mention and this would be the appropriate place for things that
'must be' system properties in a Java JVM sense.

However, it would be ideal to avoid needing a true system property as
this is often indicative of something that might well not be
Nar/isolated classloader friendly.  If possible it would be better to
leverage the variables of a process group.  This can be better
understood here

These would be properties which get passed into the
processor/components of a given group and their lifecycles well
managed and works with the versioned flow model safely.  Usually
system properties by comparison tend to have a presumed JVM wide and
JVM scope lifetime.


On Thu, Jan 3, 2019 at 2:07 PM Richards, Michael W
<> wrote:
> Hi NIFI -
> I am using NIFI over here at US Bank.  Is see that that the NIFI system variables are
in the file.  If I want to set my own java system property for a custom NAR
processor that I am writing, where exactly do I set that?  I'm assuming I don't want to add
mine to
> Thanks in advance.
> Mike Richards
> Phone: 612-973-5181
> Email:<>
> U.S. BANCORP made the following annotations
> ---------------------------------------------------------------------
> Electronic Privacy Notice. This e-mail, and any attachments, contains information that
is, or may be, covered by electronic communications privacy laws, and is also confidential
and proprietary in nature. If you are not the intended recipient, please be advised that you
are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing
this information in any manner. Instead, please reply to the sender that you have received
this communication in error, and then immediately delete it. Thank you in advance for your
> ---------------------------------------------------------------------

View raw message