You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "YILDIRAY KABAK (Jira)" <ji...@apache.org> on 2021/04/09 11:26:00 UTC

[jira] [Created] (NIFI-8409) ConsumeMQTT Processor Broker URI Expression Language Support

YILDIRAY KABAK created NIFI-8409:
------------------------------------

             Summary: ConsumeMQTT Processor Broker URI Expression Language Support
                 Key: NIFI-8409
                 URL: https://issues.apache.org/jira/browse/NIFI-8409
             Project: Apache NiFi
          Issue Type: Wish
          Components: Configuration, Extensions
            Reporter: YILDIRAY KABAK


Dear all,

 I use the Nifi from the docker container and need to pass the “Broker URI” value from environment variable. For this purpose, I initialize the docker container with “MQTT_URL=tcp://localhost:1883” environment variable and reference it from the process configuration. 

However, in this case, I receive “Broker URI is invalid because it is not valid URI syntax” notification. When I investigated more, I realized that “Expression language scope: Not Supported” for this property. I will truly appreciate, if you enable expression language for this property. 

(I think, ".expressionLanguageSupported(ExpressionLanguageScope.VARIABLE_REGISTRY)" statement  need to be added to "PROP_BROKER_URI" property in org.apache.nifi.processors.mqtt.common.AbstractMQTTProcessor)

 

Kind regard,



--
This message was sent by Atlassian Jira
(v8.3.4#803005)