Azure / Azure/azure-sdk-for-java

Netty version difference between Azure SDK and Spring Boot

Open
#48,126 12 comments 2 reactions 1 assignee Claimed by @alzimmermsft View on GitHub
bug customer-reported needs-team-attention
Dominant language
Java
Stars
2.6k
Forks
2.2k
Avg merge
2d 8h
Merged PRs (30d)
178

Description

We would like to hear from MSFT team on this Netty Version difference between multiple BOMs ..

| Spring Boot | Netty Version | | Azure Spring | Azure SDK | Azure Netty Version |
| ------------| ----------------| ----| --------------| ------- | ---------------- |
| [4.0.0](https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/4.0.0/spring-boot-dependencies-4.0.0.pom) | **4.2.7.Final** | | 7.0.0 | [1.16.3](https://repo1.maven.org/maven2/com/azure/azure-core-http-netty/1.16.3/azure-core-http-netty-1.16.3.pom) | **4.1.130.Final**

This results confused log message ( as Azure SDK and Netty are transitive dependencies)

`The following Netty versions were found on the classpath and have a mismatch with the versions used by azure-core-http-netty. If your application runs without issue this message can be ignored, otherwise please align the Netty versions used in your application. For more information, see https://aka.ms/azsdk/java/dependency/troubleshoot. `

Though we understand Azure SDK is completely different than other Frameworks (Spring Boot, Azure Cloud), is there way to resolve this version difference ?

1. Adhere to latest version along with other frameworks (Spring Boot) (preferred)
2. Is there any possibility to suppress this log?

Being owners of Azure SDK and Azure Cloud, how would like to resolve this ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.