Skip to content

Errors while attempting to output to Google Pubsub #256

@Kev-La

Description

@Kev-La

Hi,

I'm using the current version v0.0.14 for a PoC and managed to confirm ingesting via SQL & physical file table reads along with a number of destinitions including smtp, http & console but i'm getting an error when attempting to output to Google Pubsub.

My initial error was:
"Caused by: com.google.common.util.concurrent.ExecutionError: java.lang.NoSuchMethodError: com/google/common/base/Preconditions.checkArgument(ZLjava/lang/String;I)V (loaded from file:/opt/manzan/lib/manzan.jar by sun.misc.Launcher$AppClassLoader@cb1bd4fa) called from class com.google.api.gax.grpc.InstantiatingGrpcChannelProvider$Builder (loaded from file:/opt/manzan/lib/manzan.jar by sun.misc.Launcher$AppClassLoader@cb1bd4fa)."

It looks like the version of Guava embedded within the .jar file is not the correct version thats required. I've tried adding a number jar files to my classpath based on what i believe were the correct dependencies but while i could reach the point where i didn't have any errors, the process still failed to publish to Google Pubsub as it looped around the handshake. I tried both tls1.2 & tls1.3 (by using different versions of various .jars) which both had the same behaviour.

I did create my own gPubSubTest.jar which confirmed i am able to publish to Google Pubsub from our IBM using the same credential file and I did manage to setup manzan to call a IBM based webservice which then published to Google Pubsub but we are keen to get manzan working directly.

Our IBM is v7.5 and i'm using the default java (i did also try with others with the same result)
java version "1.8.0_461"
Java(TM) SE Runtime Environment (build 8.0.8.50 - pap6480sr8fp50-20250701_01(SR8 FP50))
IBM J9 VM (build 2.9, JRE 1.8.0 OS/400 ppc64-64-Bit Compressed References 20250625_97093 (JIT enabled, AOT enabled)
OpenJ9 - 5745bbce054
OMR - e194079e7
IBM - e7592ac)
JCL - 20250630_01 based on Oracle jdk8u461-b11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions