[CosmosDB] Feature Request: Support Vert.x HTTP Client or Pluggable HTTP Client Implementation
I maintainer di solito rispondono entro 1 giorno
@pjohari-ms ci sta già lavorando.
Dal 8/8/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Is your feature request related to a problem? Please describe.
The Azure CosmosDB SDK currently hardcodes the use of reactor-netty HTTP client in its implementation (see ReactorNettyClient.java (https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/http/ReactorNettyClient.java). This creates compatibility issues when using CosmosDB in environments like Quarkus/GraalVM native image, where Vert.x is the preferred HTTP client.
Current situation:
- azure-cosmos depends on azure-core-http-netty → reactor-netty
- The HTTP client implementation is not pluggable
- This differs from other Azure SDK components (Storage, Event Hubs, Key Vault, etc.) which support multiple HTTP client implementations
Describe the solution you'd like
Option 1 (preferred): support Vert.x HTTP Client
- Allow CosmosDB to use azure-core-http-vertx as an alternative HTTP client implementation
- This would align CosmosDB with other Azure SDK components and work seamlessly in Vert.x-based frameworks
Option 2: Make HTTP Client Implementation Pluggable
Similar to how other Azure SDK components work, allow users to choose between:
- azure-core-http-netty (reactor-netty, current default)
- azure-core-http-vertx (Vert.x)
- others
Describe alternatives you've considered
keep using reactor-netty exclusively is not really ideal I think because forces non-reactor frameworks to include reactor-netty and graalVM native image compatibility issues
Additional context
The Apache Camel Quarkus project is currently working to add native support for the camel-azure-cosmosdb component, but the hardcoded reactor-netty dependency is blocking this effort.
We've noticed that other Azure SDK components—including Storage, Event Hubs, Service Bus, and Key Vault—already work seamlessly in Quarkus native mode because they support azure-core-http-vertx as an alternative HTTP client implementation. Having CosmosDB support the same pluggable HTTP client pattern would enable it to integrate smoothly with these frameworks and provide a consistent experience across all Azure services in cloud-native Java applications.
issue reference: https://github.com/apache/camel-quarkus/issues/2648
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
- Description Added
- Expected solution specified
- Lingua principale
- Java
- Stelle
- 2.6k
- Fork
- 2.2k
- Merge medio
- 1g 18h
- PR unite (30g)
- 206
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Azure/azure-sdk-for-java
-
mgmt, in track 1 migration guide, call out that file-based authentication method is not recommendedForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. ApertaAzure.Identity
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 74/100
Azure/azure-sdk-for-java#48894 ·
I maintainer di solito rispondono entro 1 giorno
-
[Design] Support External Evaluation Policy (Invoke) in management SDKsForse già presa @weidongxu-microsoft l’ha presa 5 giorni fa. Aperta
Azure/azure-sdk-for-java#50818 · 2 reazioni · 2 assegnatari ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] Align OkHttp and Netty handling of HTTP 407 responses after HTTPS tunnel establishmentForse già presa @alzimmermsft l’ha presa 6 giorni fa. ApertaAzure.Core Client
Azure/azure-sdk-for-java#50799 · 2 commenti · 1 reazione · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] azure-core-http-netty ignores response timeout when write timeout is disabledForse già presa @alzimmermsft l’ha presa 6 giorni fa. ApertaAzure.Core Client customer-reported needs-team-attention question
Azure/azure-sdk-for-java#50795 · 3 commenti · 1 reazione · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] azure-core-http-vertx: Streaming request bodies hang on Vert.x 5.x (NoSuchMethodError on HttpClientRequest.reset)Forse già presa @alzimmermsft l’ha presa 6 giorni fa. ApertaAzure.Core Client customer-reported needs-team-attention question
Azure/azure-sdk-for-java#50793 · 6 commenti · 1 reazione · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Azure/azure-sdk-for-java
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
QuiltMC/update-quilt-meta#28 ·
-
area/kotlin
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Large page[number] overflows the computed offset and returns the wrong pageForse già presa @auraseb l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno