[ 
https://issues.apache.org/jira/browse/NIFI-2556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15418115#comment-15418115
 ] 

Sarah Olson commented on NIFI-2556:
-----------------------------------

I've written the following suggested text for the User Guide. Please have a 
look and share any questions, comments, or edits.
Thanks very much!
~~~~~~~~~~~~

In addition to using FlowFile attributes, system properties, and environment 
properties within Express Language, you can also define custom properties for 
Expression Language use. Defining custom properties gives you more flexibility 
in handling and processing dataflows. You can also create custom properties for 
connection, server, and service properties, for easier dataflow configuration. 

To create custom properties for use with Expression Language, identify one or 
more sets of key/value pairs, and either add them manually to your processor 
interface, or give them to your system administrator.

NiFi properties have resolution precedence of which you should be aware when 
creating custom properties: 
Processor-specific attributes 
FlowFile properties
Flowfile attributes
>From variable registry:
User defined properties (custom properties)
System properties
OS environment variables

When you are creating custom properties, ensure that each custom property 
contains a distinct property value, so that it is not overridden by existing 
environment properties, system properties, or FlowFile attributes.

Once you have added the new custom properties, ensure that you have updated the 
nifi.variable.registry.properties field in the nifi.properties file, with the 
custom properties location. 

> User Guide Update: Considerations for creating custom properties
> ----------------------------------------------------------------
>
>                 Key: NIFI-2556
>                 URL: https://issues.apache.org/jira/browse/NIFI-2556
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Documentation & Website
>            Reporter: Sarah Olson
>            Assignee: Sarah Olson
>             Fix For: 1.0.0
>
>
> Update the User Guide with information about creating custom properties.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to