Questions tagged [vertx-httpclient]
100 questions
0
votes
0 answers
Path header is prepended with scheme and authority when proxy option is set in HttpClient of Vertx
I have a vertx app which sends the request to a proxy. It uses HttpClient with setproxyoptions. Then form a request using request options to set the actual host, port, method and path.
Vertx version: 4.4.0
public class MainVerticle extends…

shetty sharath
- 21
- 2
0
votes
0 answers
Is it possible to make multiple web routers in Eclipse Vertx using multiple OpenAPI specification?
I am working on a codebase in which we are using OpenAPI andVertx to make our rest endpoints.
RouterBuilder.create(vertx, location-to-OpenAPIspec)
This is how it is currently implemented. I was wondering if it was possible to use RouteBuilder again…

Nfuture
- 1
0
votes
0 answers
How to write integration test case to test API using vertx?
@Test
public void dummyTestCase() {
System.out.println(" dummyTestCase ");
HttpClient client = vertx.createHttpClient();
client.request(HttpMethod.GET, 8080, "localhost", "/api/user",
HttpClientResponse -> {
…
0
votes
1 answer
Configuring Vertx WebClient SSL context
I am using some library for security functions, it allows me to create custom java.security.Provider, KeyManagerFactory, TrustManagerFactory with a specific TLS cipher suits, algorithms, keys and trust storage formats. Normally Netty allows me to…

Roman Churganov
- 21
- 3
0
votes
1 answer
How to create OpenTelemetry Traces in a Vertx Verticle
What is the best way to get a handle of an OpenTelemetry object in a Verticle and how to effectively use it? The official examples are unfortunately not very helpful. It is shown how to set it up but not how to get a handle of it for manual…

alknows
- 1,972
- 3
- 22
- 26
0
votes
0 answers
Is it possible to use quarkiverse.azureservices HTTP/Web client as I would use the CosmosAsyncClient/CosmosAsyncContainer/CosmosAsyncDatabase?
I'm still new at dev with CosmosDB, Quarkus, and Vertx and am seeking some clarification - originally I ran into errors with the Quarkus native build as specified in this GitHub issue and according to the reply, I assumed it referred to the…

tkb2022
- 1
0
votes
0 answers
Vertx event bus slowly consuming events on load
Asking this same question again
Vertx event bus slow consuming issue
We have a non clustered vertx application, and we use the event bus to internally communicate between verticles.
Verticle A consumes from the bus, performs a HTTP request, and…

Aman Garg
- 1
- 1
0
votes
0 answers
Incorrect zip file being created in Vertx [3.x] from a HTTP Request
I am trying the below code with vertx 3.9.10 and it does not seem to write to the zipfile however the file gets created correctly. The pipeTo eventHandler is never called and i keep getting 202 in the client instead of 200.
@Override
public…

Anshul
- 109
- 1
- 11
0
votes
0 answers
How is Vertx Webclient non-blocking?
Due to some performance improvements we are trying to make to our system, I'm trying to understand how Vertx Webclient is actually non-blocking.
From my understanding, in regular old java, an http call using java.net (or maybe a regular HTTP client…

Diego
- 713
- 5
- 19
0
votes
1 answer
Optional path parameter in vertx
I want to use a get request to get optional path parameters in a single end point . For example :-
if user hit below api :-
/metric/monitor/:id
or
/metric/:id
here id is path parameter than i need to route to the same function in a single end…

Vedant Dokania
- 3
- 1
0
votes
0 answers
Authentication Required Vertx
The problem is when I write a simple query to this verticle I get this response.
Request:
curl -X GET http://localhost:8080/v1/calculation/DELPHI_METHOD_FORECAST
-H 'Content-Type: application/json'
-d…

Mishamba
- 29
- 1
- 7
0
votes
1 answer
Caching Web Client in Vert.x
This is the architecture I am trying to build where I first check in Redis cache and incase of a cache miss go to downstream. Found Caching web client in vert x 4.2.0 and newer version but does that allow us to communicate with Redis cache or it…

Sumeet Sanwal
- 3
- 1
0
votes
1 answer
vertx Router no response
I wrote a dispatcher which routing a request to backend server, and response from backend is encrypted. When I decrypt the response body and write to RoutingContext response. Client can't receive response.
code like below
Router…

tamaru
- 1
0
votes
1 answer
What happens internally when we create multiple instances of standard and worker verticle?
Lets say we create a standard verticle and a worker verticle. Now we increase the instances to 2 each.
So when lets say 10 users requests at a time what happened previously and what will happen now internally ?

Utkal keshari Sahu
- 17
- 6
0
votes
1 answer
How to capture HttpProxy responses
I have a reverse proxy server using Vert.x Web Proxy, implemented with pretty standard code:
...
HttpClient client = theVertx.createHttpClient();
HttpProxy proxy = HttpProxy.reverseProxy(client);
Route anyroute = theRouter.route("/*");
…

Factor Three
- 2,094
- 5
- 35
- 51