[DrainingHash] pulsar-client 4.0.1 with java.lang.ClassNotFoundException #23744
Unanswered
unicojoyhug
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Issue:
Upgrading
org.apache.pulsar:pulsar-client from version
from3.3.1
to4.0.1
- it fails to create the client withClassNotFoundException
as below:Implementation:
I use
pulsar-client
to create a client to consume events with addingAuthenticationOAuth2
.privateKey
is added withdata:application/json;base64,<base64-encoded value>
following doc - authentication-typesWhat I checked:
DrainingHashImpl
: the import path doesn't containDrainingHash
DrainingHash
interface is found in pulsar-client-admin-api/commonWhat I have tried:
pulsar-client-all
instead to see if I can get these all included, but it failed to find theDrainingHash
interface forDrainingHashImpl
Let me know if I need to supply more information or write this to somewhere else.
I'd love to know what I should do to avoid this error.
Beta Was this translation helpful? Give feedback.
All reactions