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