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/13 02:19:00 UTC

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

     [ https://issues.apache.org/jira/browse/NIFI-7629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cuong Nguyen reassigned NIFI-7629:
----------------------------------

    Assignee: Cuong Nguyen

> 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.1, 1.11.4
>         Environment: Nifi package for version 1.11.1 run on macOS Catalina 10.15.5
>            Reporter: Cuong Nguyen
>            Assignee: Cuong Nguyen
>            Priority: Major
>              Labels: beginner
>         Attachments: image-2020-07-11-11-52-52-828.png, image-2020-07-11-11-55-10-841.png, image-2020-07-11-12-02-10-374.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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|width=800,height=550!
> !image-2020-07-11-12-02-10-374.png|width=800,height=550!
> Error message occurs as below
>  !image-2020-07-11-11-55-10-841.png|width=813,height=210!
> 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 (lastest source code at main branch): [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)