nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Payne (Jira)" <j...@apache.org>
Subject [jira] [Updated] (NIFI-7629) Consume & Publish PubSub processors do not evaluate EL for property PROJECT_ID despite its setting
Date Mon, 13 Jul 2020 12:56:00 GMT

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

Mark Payne updated NIFI-7629:
-----------------------------
    Fix Version/s: 1.12.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> 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
>             Fix For: 1.12.0
>
>         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: 20m
>  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)

Mime
View raw message