Deploying a flow definition

Deploy a flow definition to run NiFi flows as flow deployments in CDF. To do this, launch the Deployment wizard and specify your environment, parameters, sizing, and KPIs.

The CDF Catalog is where you manage the flow definition lifecycle, from initial import, to versioning, to deploying a flow definition.

  • You have an enabled and healthy CDF environment.

  • You have imported at least one flow definition.

  • You have been assigned the DFCatalogAdmin role granting you access to the CDF Catalog.

  • You have been assigned the DFFlowAdmin role for the environment to which you want to deploy the flow definition.

  1. From the left navigation pane, click Catalog.
    Flow definitions available for you to deploy are displayed, one definition per row.
  2. Launch the Deployment wizard.
    1. Click the row to display the flow definition details and versions.
    2. Click on a row representing a flow definition version to display flow definition version details and the Deploy New Flow button.
    3. Click Deploy New Flow to launch the Deployment wizard.
  3. From the Deployment wizard, select the environment to which you want to deploy this version of your flow definition.
  4. From the Overview, give your flow deployment a unique name.

    You can use this name to distinguish between different versions of a flow definition, flow definitions deployed to different environments, and similar.

  5. In Parameters, specify parameter values like connection strings, usernames and similar, and upload files like truststores, and similar.
    • The size of your cluster from Extra Small to Large

    • Whether you want to automatically scale your cluster according to flow deployment capacity requirements.

    • The number of nodes from 1 to 64

  6. From KPIs, you may choose to identify key performance indicators (KPIs), the metrics to track those KPIs, and when and how to receive alerts about the KPI metrics tracking.

    See Working with KPIs for complete information about the KPIs available to you and how to monitor them.

  7. Review a summary of the information provided and make any necessary edits by clicking Previous. When you are finished, complete your flow deployment by clicking Deploy.

Once you click Deploy, you are being redirected to the Alerts tab in the detail view for the deployment where you can track its progress.