2,728 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
2
replies
48
views
Java & Vert.x: running two different dependency sets in the same JVM with different class loaders
I have a fairly complex API service running under Vert.x in the JVM - it started pretty simple but grew massively over the 10 years it has been in production. So much so that we're in dependency hell -...
Best practices
0
votes
0
replies
54
views
Efficient way to update 100k–200k Couchbase documents using Java SDK in a transactional setting
I am using the Couchbase Java SDK and need to update a field in a large number of documents (100k–200k).
The update depends on three fields, and I must update a fourth field inside a transactional ...
1
vote
1
answer
57
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 ...
0
votes
0
answers
32
views
Use suspend function with Vert.x Kafka Consumer?
I want to use suspend function in a handler for KafkaConsumer.
This is what I have so far, but I'm not sure about exception handling.
CoroutineEventBusSupport would call fail() on the message and ...
1
vote
1
answer
102
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
79
views
Vertx 5 Websocket seem to have undocumented breaking changes - Client closes immediately
I recently wanted to look at upgrading to Vert.x 5.
I use client side websockets extensively in one of the applications and when upgrade from 4.5.21 to 5.0.4 I have been absolutely unable to get the ...
0
votes
0
answers
37
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
0
answers
65
views
How to register a vertx handler programatically
I'm trying to integrate restate.dev into a quarkus application and I'm trying to set it up to use the same port as quarkus itself for incoming http traffic. Unfortunately I'm a noob when it comes to ...
0
votes
1
answer
110
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 ...
0
votes
1
answer
87
views
java vertx webclient stream from server with chunked messages
I have a vertx server which sends on events to all streamers an information.
Using a console all working as wished.
But if I use a vertx webclient the client is connected but did not receive anything.
...
2
votes
1
answer
48
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 ...
1
vote
3
answers
347
views
Virtual threads vs reactive database drivers
There is a typical task: consume data from Kafka (or REST/gRPC), process it, and persist it in the DB.
The database has always been our weak point. We usually have hundreds or thousands of messages to ...
0
votes
1
answer
97
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()....
1
vote
1
answer
184
views
Quarkus Mutiny and Vertx Thread blocking while calling multiple API concurrency on a GCP Cloudrun
I developped a small application to reproduce and try to fix a big performance issue on a big project.
On my project, I need to do a fire-and-forget webservice that will consume a String, parse it, ...
0
votes
0
answers
76
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 ...