How to add custom properties in Apache NiFi and read them on the fly without up down nifi

835 views Asked by At

Like I add some properties in custom-properties file. Now I want to read these custom properties without up down Apache NiFi.

content in custom.properties

sourcepath=/home/ist/s
destination=/home/ist/d

I want to read these properties without up-down NiFi to perform action like get, put.

1

There are 1 answers

2
mattyb On

As of NiFi 1.4.0, you can set a sort of Variable Registry on a process group (NIFI-4224). If you right-click on a process group and choose "Variables", you can set key/value pairs that you can use without having to start and stop NiFi.