Support Questions

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

Does nifi.properties file accept Env variables?

avatar
Expert Contributor

Hello,

Let's say I have HOSTNAME as an env variable.

May I set below property in nifi.properties file?

nifi.web.http.host=$HOSTNAME

Thanks.

1 ACCEPTED SOLUTION

avatar
Super Mentor
@Alvin Jin

The nifi.properties file does not support environment variables. It expects hardcoded values or it will use default values some properties in teh absense of a configured value.

Thanks,

Matt

View solution in original post

2 REPLIES 2

avatar
Super Mentor
@Alvin Jin

The nifi.properties file does not support environment variables. It expects hardcoded values or it will use default values some properties in teh absense of a configured value.

Thanks,

Matt

avatar
Expert Contributor

I see. Thanks.