[
https://issues.apache.org/jira/browse/NIFI-9530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Payne updated NIFI-9530:
-----------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> ConsumeGCPubSub not working in Nifi 1.15.2
> ------------------------------------------
>
> Key: NIFI-9530
> URL: https://issues.apache.org/jira/browse/NIFI-9530
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.15.2
> Reporter: Fabien Comte
> Assignee: David Handermann
> Priority: Blocker
> Labels: GCP, pubsub
> Fix For: 1.15.3
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> After upgrading to Nifi 1.15.2 processor ConsumeGCPubSub fails with the
> following error :
> {noformat}
> 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{noformat}
> 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
--
This message was sent by Atlassian Jira
(v8.20.1#820001)