When you build data flows in your NiFi development environment, you create parameter
contexts to store configurable values that can vary between environments. Assigning a
parameter context to your process group helps you deploy the same flow with different
connection strings, credentials, or other settings.
As you are building your data flow in your NiFi development
environment, follow these steps to create a parameter context, add parameters to it, and
assign the new context to your process group:
Select Parameter Contexts from the Global
menu of the NiFi UI.
In the NiFi Parameter Contexts dialog, click the
(+) button to create a new parameter context.
Add a name for your parameter context.
Select the Parameters tab to add the parameters you need for
configuring your data flow components.
Click Apply to save the parameter context.
To assign the parameter context to your process group, click
Configure from the process group context menu and select the
parameter context in the Process Group Parameter Context drop-down
menu.