Member since
10-05-2016
1
Post
0
Kudos Received
0
Solutions
10-05-2016
04:23 PM
3 Kudos
@Jonas Carson Using custom properties files should solve your needs perfectly. Bottom line is you configure your processor with NiFi Expression Language that references the custom property e.g ${my.cust.prop.name}. Each environment has its own instance of the custom property file -- with same property names as file deployed to other environments but values specific to the environment. To implement this, open the nifi.properties file and set the field nifi.variable.registry.properties to a comma-delimited
list of paths to custom property files. Be sure to make your property names unique if you are using more than one property file in the same envt. Also, they must be unique from system and environment properties. See the following links for more information: https://community.hortonworks.com/articles/57304/supporting-custom-properties-for-expression-langua.html https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#Using_Custom_Properties Note: You can also refer to system variables and environment variables the same way: ${system.variable.name}
... View more