nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (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:comment-tabpanel&focusedCommentId=17156690#comment-17156690
] 

ASF subversion and git services commented on NIFI-7629:
-------------------------------------------------------

Commit c7a235f85478d39bb11eb44994a8719fd1f4294c in nifi's branch refs/heads/main from Cuong
Nguyen
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=c7a235f ]

NIFI-7629: Make property PROJECT_ID evaluate EL on processors ConsumeGCPubSub & PublishGCPubSub


> 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: 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