Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-9980

Correct Google Dependencies for GCP Components

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.16.1
    • 1.17.0, 1.16.2
    • Extensions
    • None

    Description

      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 and references to specific library versions should be removed.

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m