Importing pulsar-broker:2.9.3 or 2.10.1 maven dependency #17988
-
Hi everyone, I'm struggling with a problem in my project and I hope someone here can help. I'm implementing a custom authentication and authorization logic for my Pulsar implementation and currently I'm using the version 2.9.1. Now, I want to upgrade to 2.9.3 but I found I have to update my implementation of AuthorizationProvider because the argument of the method waitForAny() changed from List to Collection. The problem is that when importing the maven dependency "pulsar-broker" version 2.9.3, it just can't import the dependencies and stall infinitely (seems like circular dependency or something like that) , and the same happens with 2.10.1. Anyone with the same problem or any idea how to fix this? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I have the same issue, would really like some feedback on this :) |
Beta Was this translation helpful? Give feedback.
-
The break in binary compatibility was introduced here #15329, and fixed here, #16794. It should be fixed the 2.9.4 release, but that is not available yet. In order to use 2.9.3, you'll need to recompile the project, like you're trying to do. As for being unable to download the dependency, that sounds like a separate issue. Do you have any logs? When you build the dependency tree, do you see a circular dependency? After quickly searching, I don't see any related issues. |
Beta Was this translation helpful? Give feedback.
The break in binary compatibility was introduced here #15329, and fixed here, #16794. It should be fixed the 2.9.4 release, but that is not available yet. In order to use 2.9.3, you'll need to recompile the project, like you're trying to do.
As for being unable to download the dependency, that sounds like a separate issue. Do you have any logs? When you build the dependency tree, do you see a circular dependency? After quickly searching, I don't see any related issues.