Open Haaroon opened 2 years ago
fyi if i remove pulsar4s it runs fine
Does this fail for every pulsar java client version? Which version are you on?
Running the latest 2.8.0 with pulsar 2.9.0, i even tried pulsar 2.8.1 and same issues
Out of curiosity: did you try pulsar4s 2.8.0?
It's been released yesterday.
Beware: since the original maintainer gave the project away, the organisation for the artifact is now com.clever-cloud.pulsar4s
instead of com.sksamuel.pulsar4s
.
yes i did and it still doesnt work unfortunately,
I have had a similar dependency issue with pulsar before, which is why we add the -original
name to the dep which pull the build without the shady deps
I don't think this is a solution solution, but as a quick patch to get this working I excluded the base pulsar libs from pulsar4s in my build and it now runs (I work with Haaroon).
That is weird, because pulsar4s 2.8.0 depends on pulsar-client 2.9.0. :thinking:
It is indeed. I believe client has dependency issues which is why use client-common instead. It gives problems with pulsar functions .
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Julien Durillon @.> Sent: Thursday, December 9, 2021 5:49:47 PM To: CleverCloud/pulsar4s @.> Cc: Haaroon Y @.>; Author @.> Subject: Re: [CleverCloud/pulsar4s] Dependancy issue with pulsar4s and pulsar-functions-local-runner-original/pulsar-client-admin-original (Issue #371)
That is weird, because pulsar4s 2.8.0 depends on pulsar-client 2.9.0. 🤔
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/CleverCloud/pulsar4s/issues/371#issuecomment-990082571, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABWNAOT42RYEJI3JUAHP6ITUQDT3XANCNFSM5JWXUDKQ.
I may investigate this in future versions. If possible, drop the pulsar-client
to use the other ones, or add the others with versions pinning.
Would you agree to run some tests in local by cloning this repo, mangling the deps to your liking, see if your project works with it and see if the tests still pass? :pray:
Sure, can do. We are getting a wonderful netty issue as well at the moment (below) which also seems to be a dependency problem, so this could help with that.
Oh, the much dreaded netty error. Some coworkers got it but we could not find out why. :(
we have the netty but it seems to work all fine
Having issues whereby my Local File Reader runner fails to run because of a dependency clash between pulsar4s and the pulsar java libraries.
The code is attempting to load a connector via the soureConfig object
Below is the build.sbt file,
Below is the error log
code example