Comments (5)
Hi @blackr1234, thanks for reaching out. The upgrade of spring libraries to the latest azure-core-* and azure-messaging-servicebus for April cadence is yet to happen, this dependency conflict will be resolved once April release of all packages are completed.
At the moment you need to override the core packages at the top of your pom file
<dependencies>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.48.0</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-xml</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-amqp</artifactId>
<version>2.9.3</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-messaging-servicebus</artifactId>
<version>7.16.0</version>
</dependency>
…..
from azure-sdk-for-java.
Hi @blackr1234, glad that the workaround unblocked you. Yes, agree with you, it is a good practice not to pull individual dependencies in the application as it may cause dependency conflicts. If BOM or top-level library aggregating and aligning all dependency versions are available, we should delegate versioning to it. Aligning the dependencies manually was a workaround, which can be removed once all Azure SDK libraries and spring release followed by that, for this April cadence is complete.
from azure-sdk-for-java.
from azure-sdk-for-java.
Thank you for your feedback. Tagging and routing to the team member best able to assist.
from azure-sdk-for-java.
Thanks a lot for your help @anuchandy .
I've added those dependencies to override existing versions, now subscription creation is working fine.
I guess the key takeway here is, as a normal SDK user, it isn't a good practice (and it is risky) to manually override the version of individual Azure modules, or I may face compatibililty issues like azure-messaging-servicebus
in this case, and instead, I should only be using different versions of spring-cloud-azure-stream-binder-servicebus
?
from azure-sdk-for-java.
Related Issues (20)
- [BUG] Azure data table client listEntities API return string instead of binary data (breaking change & bug) HOT 2
- [FEATURE REQ] Implement equals properly on ChatCompletionsOptions, EmbeddingOptions etc HOT 1
- [FEATURE REQ] EH: add `EventBatchContext.updateCheckpoint` and `EventContext.updateCheckpoint` methods HOT 3
- [BUG]Failed to instantiate interface using constructor NO_CONSTRUCTOR with arguments HOT 7
- [TABLES] Update test that require MI from Disabled to Live Only
- `Inner` classes' `validate()` method implementation wrongly calls `super.validate()` on `Resource`/`ProxyResource` which doesn't have `validate()`.
- Cannot configure the try timeout on @ServiceBusListener HOT 2
- [QUERY] openai sdk - Get chat role from ChatReqeustMessage.clss
- Digital Twins Readme Issue
- Azure Blob Storage Checkpoint Store Readme Issue HOT 2
- Cosmos DB Sample Issue HOT 1
- Monitor Query Readme Issue HOT 2
- [QUERY] reactor.util.context.ContextView reactor.core.publisher.MonoSink.contextView
- Add ARM SDKs into the BOM so customers don't have to manage the versions manually HOT 2
- [FEATURE REQ] Allow for custom authentication policies in the pipeline
- [BUG] When using Azurite and the connection string is incorrect, TableAsyncClient operation does not finish HOT 3
- Investigate a broader credential type
- Identified Areas for filling gap between azure-core and clientcore HOT 1
- [QUERY] How to properly handle errors on OpenAI client (azure-ai-openai)? HOT 1
- [QUERY] Cognitive Services speech translation from Android HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-java.