Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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.