2,729 questions
1
vote
1
answer
40
views
Behaviour of vertx Future.all
With Vertx futures, we have
CompositeFuture fRes1 = Future.all(f1, f2, f3);
CompositeFuture fRes2 = Future.join(f1, f2, f3);
Future.join will wait for all three underlying futures to fail to then ...
1
vote
1
answer
89
views
Blocking endpoint with blocks other endpoints on the same resource
I'm encountering unexpected blocking behavior in a Quarkus application using RESTEasy Reactive and virtual threads - Just threw those in to see if they'd help but they did not. I have a resource with ...
0
votes
0
answers
28
views
Micronaut reactive, Hibernate, Vert, Postgres - correct configuration?
I try to make my first project with Micronaut and can't figure out how to confihure the datasource:
jpa.default.properties.hibernate.hbm2ddl.auto=create-drop
jpa.default.properties.hibernate.show_sql=...
0
votes
1
answer
103
views
IllegalStateException: Request has already been read Vert.x reverse proxy
I have a reverse proxy built on quarkus that forwards all http calls to another api.
The GET requests work but, the PUTs/POSTs fail with exception:
java.lang.IllegalStateException: Request has ...
2
votes
1
answer
40
views
Why 'cast to Integer error' is triggered on SchemaValidatorImpl?
I try to migrate from vertx 4.x to 5.0.2. In my project originally was creating a RouterFactory to create a Router using OpenAPI3RouterFactory.rxCreate using a spec.yaml file of OpenAPI v3.0.0. Now, I ...
0
votes
1
answer
85
views
Unable to switch back to vertx event loop thread pool after switching to executor thread pool
@GET
@Path("/p1")
public Uni<Response> p1() {
Log.info("Entry (event loop)");
return Uni.createFrom()
.item("input")
.onItem()....
0
votes
0
answers
70
views
Vert.x mysql timeouts
I have these 2 verticles in my java application in vert.x that are supposed to be running in multiple batches.
public class TestVerticle4 extends AbstractVerticle{
private static final Logger ...
0
votes
1
answer
33
views
How to start Vert.x shell as a service? Docs unclear on this
The docs say "The shell can be started as a service ...".
Then command is proposed
vertx run -conf '{"telnetOptions":{"port":5000}}' maven:io.vertx:vertx-shell:5.0.0
Is ...
0
votes
1
answer
55
views
How to log Quarkus-graphql RESPONSE BODY?
I have a backend API implemented with Quarkus SmallRye GraphQl. How can I log the GraphQl response body that my backend returns to its clients?
(I know how to enable http-access logging. But this does ...
0
votes
0
answers
27
views
Weld/CDI and Vertx Integration
Today I tried to update my Vertx/CDI integration example to the latest Vertx 5.0.0.
https://github.com/hantsy/vertx-sandbox/tree/master/cdi
In my example, I declared the MainVerticle as @...
0
votes
1
answer
120
views
Reactive endpoints in Quarkus returning swapped results
I'm pretty new to the whole reactive/mutiny/vert.x world and I have the following issue I can't quite figure out:
I've got two REST endpoints, they both retrieve some data (a count) for a certain ...
0
votes
0
answers
55
views
Why are Vert.x worker pools shut down by shutdownNow instead of shutdown?
I'm debugging graceful shutdown issues in my Quarkus 3.8.6 application and I see that io.vertx.core.impl.WorkerPool uses java.util.concurrent.ExecutorService#shutdownNow method call to stop the worker ...
0
votes
1
answer
90
views
How to specify the thread model of a vert.x verticle as virtual threads in the command line?
I am using vert.x version 4.5.13
I expect to use Vert.x's Launcher to start the verticle. When deploying the Verticle programmatically, I know that I can set the virtual thread as the underlying ...
0
votes
1
answer
65
views
Quarkus has different protobuf payload size limits depending on use-separate-server option
Does anybody know why quarkus has different payload limits for grpc calls depending on whether you are using a dedicated grpc server or a single one (Vertx) ?
More specifically:
quarkus.grpc.server....
0
votes
0
answers
64
views
What is the correct way to deploy n verticles in Vert.x
Currently I have two verticles, WebVerticle and Task Verticle
I am deploying them like this :
Future<String> webVerticleDeployment = vertx.deployVerticle(new WebVerticle(loadedConfig, router));
...
0
votes
0
answers
42
views
Regarding the problem of virtual thread suspension
I invoked the code logic for querying the database within a Verticle scheduled by virtual threads. The database logic part utilizes the MyBatis-Plus ORM framework. I carried out concurrent tests, yet ...
0
votes
0
answers
59
views
Vert.x service creation failure on startup
I have a simple server App like so:
import io.vertx.core.AbstractVerticle;
import io.vertx.core.Future;
import io.vertx.core.Promise;
import io.vertx.core.Vertx;
import io.vertx.core.http.HttpServer;
...
0
votes
1
answer
128
views
Vert.x 5 io.vertx.core.Launcher removed
I have an application written in v4.5.11 that uses, io.vertx.core.Launcher and I'm able to get the json config parsed in the hook afterConfigParsed. With version 5, the Launcher has been replaced by ...
0
votes
0
answers
18
views
Vert.x Test halts with TimeoutException in Kotlin: The test execution timed out
I am writing the test cases for vertx (ver: 4.5.8) application and use the code that is listed in the vertx website.
Following is the code for the test class:
package com
import io.vertx.core.Vertx
...
0
votes
0
answers
19
views
Vert.x - streaming HTTP request body with rxJava blocks
I am attempting to stream a large HTTP request between my Vert.x services. For this purpose, I am using io.vertx.reactivex.ext.web.client.WebClient, which takes a Flowable as input for the ...
0
votes
1
answer
90
views
Vertx currentContext missing in executeBlocking
I am using this code in a Quarkus app to initialize some gateways:
void onStart(@Observes StartupEvent ev)
{
for (String tenantId : _coreStore.listTenants()) {
_vertx.getOrCreateContext()....
1
vote
1
answer
123
views
Infinispan dual roles on Kubernetes as a Vert.x cluster manager and cache manager. Cache not being shared problem
The goal of the project is to wire up Vert.x applications(verticles) in a cluster with the help of Infinispan, where verticles share single replicated cache collection, which is also managed by ...
3
votes
0
answers
57
views
Shows an unexpected URL in Vertx's failureHandler() to handle the failure in router context
I am trying to develop an application in Vertx web. When I configured the failureHandler() in router for handling failures in router, it shows a random url is failed(Example URLs: http://example.com:...
1
vote
1
answer
136
views
SLF4J doesn't find provider from logback-classic on vertx
I'm trying to add Logback on a Vertx project, but it seems SLF4J can't see logback even if itself come from a logback dependency. I used maven dependency logback-classic, which transitively imports ...
0
votes
1
answer
35
views
rxSend vs send in Rxified API for Http Client in Vert.x
I am trying to understand a difference between below two snippets using rxRequest/rxSend vs request/send. They seem to behave in the same way.
RecordParser parser = RecordParser.newDelimited("\n&...