Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Passing dynamic values to Nifi Parameters/processor

avatar
Contributor

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.

@Nifi @NifiDev 

1 ACCEPTED SOLUTION

avatar
Explorer

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.

 

View solution in original post

2 REPLIES 2

avatar
Explorer

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.

 

avatar
Contributor

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.