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

ConsumeGCPubSub not working in Nifi 1.15.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.15.2
    • 1.15.3
    • Extensions

    Description

      After upgrading to Nifi 1.15.2 processor ConsumeGCPubSub fails with the following error :

      ConsumeGCPubSub[id=25584328-017e-1000-1436-ae76db147150] Failed to properly initialize Processor. If still scheduled to run, NiFi will attempt to initialize and run the Processor again after the 'Administrative Yield Duration' has elapsed. Failure is due to java.lang.NoClassDefFoundError: io/grpc/internal/ManagedChannelImplBuilder$ChannelBuilderDefaultPortProvider: java.lang.ClassNotFoundException: io.grpc.internal.ManagedChannelImplBuilder$ChannelBuilderDefaultPortProvider
      ↳ causes: java.lang.NoClassDefFoundError: io/grpc/internal/ManagedChannelImplBuilder$ChannelBuilderDefaultPortProvider

      Processor was working successfully in previous versions (1.13.2 / 1.14.0 / 1.15.0 / 1.15.1)

      Steps to reproduce :

      • Launch Nifi 1.15.2
        • Used docker : docker run --name nifi -p 8443:8443 -d apache/nifi:1.15.2
      • Connect to Nifi instance
      • Create a processor ConsumeGCPubSub and configure it with minimal settings
        • Credentials Provider Service
        • Project and suscription
      • Link it to another created processor (used DebugFlow)
      • Start processors

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              comtef Fabien Comte
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 0.5h
                  0.5h