[
https://issues.apache.org/jira/browse/NIFI-8409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17321321#comment-17321321
]
ASF subversion and git services commented on NIFI-8409:
-------------------------------------------------------
Commit 0f8789b8b07df40336386b2831721f1e0c4a497b in nifi's branch
refs/heads/main from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=0f8789b ]
NIFI-8409 - ConsumeMQTT Processor Broker URI and Username Expression Language
This closes #4984
Signed-off-by: David Handermann <[email protected]>
> ConsumeMQTT Processor Broker URI Expression Language Support
> ------------------------------------------------------------
>
> Key: NIFI-8409
> URL: https://issues.apache.org/jira/browse/NIFI-8409
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: YILDIRAY KABAK
> Assignee: Pierre Villard
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)