David Handermann created NIFI-9980:
--------------------------------------

             Summary: Correct Google Dependencies for GCP Components
                 Key: NIFI-9980
                 URL: https://issues.apache.org/jira/browse/NIFI-9980
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
    Affects Versions: 1.16.1
            Reporter: David Handermann
            Assignee: David Handermann


The {{nifi-gcp-bundle}} includes a Bill of Materials dependency on 
{{{}google-cloud-bom{}}}, which manages some of the Google Cloud Platform 
dependencies for GCP Processors and Services, but does not include the 
{{google-cloud-core}} library.

The {{nifi-gcp-processors}} library includes a direct dependency on 
{{google-cloud-core}} with a specific version, and also includes a dependency 
on {{google-cloud-pubsublite}} with a specific version. As a result of 
conflicting versions, the {{PublishGCPubSub}} and {{ConsumeGCPubSub}} 
processors can throw {{NoClassDefFoundError}} when attempting to run the 
components.

The {{google-cloud-bom}} dependency should be replaced with the 
{{libraries-bom}} dependency as described in [Using Cloud Client 
Libraries|https://cloud.google.com/java/docs/bom] and references to specific 
library versions should be removed.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to