Resolving Protobuf Schema Ingestion Issue Using Java Package in DataHub

Original Slack Thread

Hello there,
Same. I’m quite new to the DataHub. I try to ingest Protobuf schema using the Java package io.acryl:datahub-protobuf in a standalone project using Gradle. I followed your https://github.com/datahub-project/datahub/blob/master/metadata-integration/java/datahub-protobuf-example/build.gradle|example but came to this error :

        at datahub.event.EventFormatter.<init>(EventFormatter.java:34)
        at datahub.client.rest.RestEmitterConfig.$default$eventFormatter(RestEmitterConfig.java:18)
        at datahub.client.rest.RestEmitterConfig.access$500(RestEmitterConfig.java:20)
        at datahub.client.rest.RestEmitterConfig$RestEmitterConfigBuilder.build(RestEmitterConfig.java:18)
        at datahub.client.rest.RestEmitter.create(RestEmitter.java:173)
        at datahub.protobuf.Proto2DataHub.main(Proto2DataHub.java:275)```
What I understand is that your datahub-protobuf is packaged using the shadow plugin with relocating.
Does someone kwno how to resolve this ?
Thanks

<@U05U1HKF8A3>

A bug is already opened https://github.com/datahub-project/datahub/issues/8337

<@U01GZEETMEZ> might help you further.

Thanks <@U0348BYAS56>. It is exactly the issue. I put a comment to the ticket.
Any idea when the issue will be fixed?

We’re looking into it!

Great ! Thanks <@U01GZEETMEZ>

Ryan replied on the github issue: https://github.com/datahub-project/datahub/issues/8337#issuecomment-1745647495