You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Cuong Nguyen (Jira)" <ji...@apache.org> on 2020/07/11 05:01:00 UTC

[jira] [Created] (NIFI-7629) Consume & Publish PubSub processors do not evaluate EL for property PROJECT_ID despite its setting

Cuong Nguyen created NIFI-7629:
----------------------------------

             Summary: Consume & Publish PubSub processors do not evaluate EL for property PROJECT_ID despite its setting
                 Key: NIFI-7629
                 URL: https://issues.apache.org/jira/browse/NIFI-7629
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
    Affects Versions: 1.11.4, 1.11.1
         Environment: Nifi package for version 1.11.1 run on macOS Catalina 10.15.5
            Reporter: Cuong Nguyen
         Attachments: image-2020-07-11-11-52-52-828.png, image-2020-07-11-11-53-32-183.png, image-2020-07-11-11-55-10-841.png

When trying to set property Project ID (processor ConsumeGCPubSub, Bundle org.apache.nifi - nifi-gcp-nar) with an EL value
!image-2020-07-11-11-52-52-828.png!

!image-2020-07-11-11-53-32-183.png!

Error message occurs as below
 !image-2020-07-11-11-55-10-841.png! 

The problem does not occur if using plain text value for the same property.

Investigating this processor's source code, I found the cause for this issue: https://github.com/apache/nifi/blob/8d53f5d0c91a4e759ea7033bb4d0143ba96d2c21/nifi-nar-bundles/nifi-gcp-bundle/nifi-gcp-processors/src/main/java/org/apache/nifi/processors/gcp/pubsub/ConsumeGCPubSub.java#L182
The same problem happens with processor PublishGCPubSub:
https://github.com/apache/nifi/blob/8d53f5d0c91a4e759ea7033bb4d0143ba96d2c21/nifi-nar-bundles/nifi-gcp-bundle/nifi-gcp-processors/src/main/java/org/apache/nifi/processors/gcp/pubsub/PublishGCPubSub.java#L212



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