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]
Created on 10-03-2017 05:08 PM - edited 08-17-2019 08:41 PM
Hi All,
I have a ListenTCP processor, I was able to use NiFi expression language for Local interface name but not for port number, it said Expression language support False, is there anyway I can read port number from a custom properties file
Thanks
Created 10-03-2017 05:22 PM
Only processor properties that explicitly state that they support NiFi Expression Language will allow you to set variables. The "Port" property requires that a hard coded integer value is supplied.
There is work being done to expand the capability of the NiFi variable registry. That work will expand what processor properties support EL. I recommend opening an Apache Jira requesting that the "Port" properties add support for NiFi expression language.
Until then, there is no workaround. The value must be supplied directly in the processor.
Thanks,
Matt
Created 10-03-2017 05:22 PM
Only processor properties that explicitly state that they support NiFi Expression Language will allow you to set variables. The "Port" property requires that a hard coded integer value is supplied.
There is work being done to expand the capability of the NiFi variable registry. That work will expand what processor properties support EL. I recommend opening an Apache Jira requesting that the "Port" properties add support for NiFi expression language.
Until then, there is no workaround. The value must be supplied directly in the processor.
Thanks,
Matt
Created 10-03-2017 05:45 PM
@Matt Clarke Thanks for the quick response,I would raise the JIRA request, here is the enhancement request