Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8409

ConsumeMQTT Processor Broker URI Expression Language Support

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.14.0
    • Extensions
    • None

    Description

      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,

      Attachments

        Issue Links

          Activity

            People

              pvillard Pierre Villard
              yildiraykabak YILDIRAY KABAK
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h