- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Passing dynamic values to Nifi Parameters/processor
- Labels:
-
Apache NiFi
Created on 11-17-2020 03:47 AM - edited 11-17-2020 03:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have Nifi flow created (ListSFTP-->FetchSFTP-->PutHDFS) and have parameters like sourcedir,hostname,HDFS path ,etc..I would like to pass the values dynamically instead of maintaining the parameter values in parameter context so that if there is any value changes , i can do in properties file itself. I have tried to use lookup attribute processor but we do not have CouchDB in the cluster . Please suggest option to pass dynamic values to this parameters. Like in Java program , we pass properties files to maintain default values.
Created 11-17-2020 11:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I do not quite understand what your goal is.
But perhaps what you need is NiFi variable registry? You can change these values via NiFi API.
Created 11-17-2020 11:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I do not quite understand what your goal is.
But perhaps what you need is NiFi variable registry? You can change these values via NiFi API.
Created 11-18-2020 10:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have Parameter-context which has 6 parameters and i could understand that using nifi CLI or REST API we can update the values dynamically . We are not using Variable registry now.
