Support Questions
Find answers, ask questions, and share your expertise

Nifi variable registry properties not accessible

New Contributor

I have Nifi cluster created with kubernetes. I set path for registry property in nifi.properties with location to my custom properties:

nifi.properties

nifi.variable.registry.properties=./conf/cust.properties

 

Based on below logs, seems like properties are loaded 

 

2020-01-29 18:45:51,823 INFO nifi-0 [main] o.a.n.r.v.FileBasedVariableRegistry Loaded 6 properties from './conf/cust.properties'

 

cust.properties

db.username=user

db.password=passwd
kafka.bootstrap-server=kafka-boostrap

some-propert1=prop1

some-propert2=prop2

some-propert3=prop3

 

When im trying to access variable, eg. ${kafka.bootstrap-server} im receiving proper error that 'could not resolve host url'.

Anyway I am not able to access any variables from nifi processors context. 

Path is set before nifi start so it does not need any restart to load it. I stucked and have no idea how to solve this problem.

 

 

0 REPLIES 0