-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Maven: pulsar-client 4.0.0 does not integrate pulsar-client-admin-api & pulsar-client-api 4.0.0 #23509
Comments
@qmonmert Please configure your application to use the Pulsar BOM, the documentation has been updated recently (1 minute ago) to also cover Spring Boot gradle builds where there has been a similar issue in the past: Does this address your problem? |
The pom at https://repo1.maven.org/maven2/org/apache/pulsar/pulsar-client/4.0.0/pulsar-client-4.0.0.pom <dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-client-api</artifactId>
<version>4.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-client-admin-api</artifactId>
<version>4.0.0</version>
<scope>compile</scope>
</dependency> Therefore, I think that the solution is to use Pulsar BOM as explained in https://pulsar.apache.org/docs/4.0.x/client-libraries-java-setup/#pulsar-bom |
@lhotari thanks but I tried your solution and it doesn't work on my project but on a simple project it seems to work |
@lhotari your solution works if I remove this dependency: org.springframework.boot in dependencyManagement but I need |
@qmonmert Have you checked the recent updates to the instructions for Spring Boot applications? Setting |
@lhotari yes a spring boot app |
@lhotari here my pom.xml which is working on version 3.3.1 of pulsar but not after
|
@qmonmert OK ✅ |
@qmonmert Would you be able to share a complete reproducer app that I could checkout and use for reproducing the issue on my side? That would be helpful in addressing this issue. Thanks! |
@lhotari we used now I pushed an example of pulsar app generated by https://github.com/jhipster/jhipster-lite on my github https://github.com/qmonmert/pulsarapp You can remove (in pom.xml)
and replace by
and add
to reproduce the bug |
Search before asking
Read release policy
Version
Pulsar version : 4.0.0
Minimal reproduce step
Add this dependency in pom.xml
What did you expect to see?
What did you see instead?
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: