Questions tagged [vert.x]

Vert.x is an event driven toolkit that runs on the JVM allowing the development of asynchronous web applications in Java, Javascript, Scala, Ruby, Ceylon, Kotlin and Groovy.

Vert.x is a polyglot event driven non-blocking toolkit that runs on the JVM - a run-time with real concurrency and unrivalled performance. Vert.x then exposes the API in , , , , , and . So you choose what language you want to use and you can even mix and match different languages. It can be used to create microservices, and can also be embedded.

Vert.x has also a powerful module system so you can package your Vert.x components into modules for encapsulation and reuse or even publishing them for the community.

Vert.x can be used as your base application stack from the ground up, but also can be embedded as a dependency of an existing application.

The framework also bundle a host of goodies out-of-the-box including a distributed event bus, , , a persistor and many other features so you can write real applications from the set-off. The event bus can be accessed using protocol, and various third party libraries exists to do so for several languages (, , , , , ...). A library called eventbus-client.js can also be used in client Javascript code.

2596 questions
0
votes
1 answer

Using DynamoDB with Vert.x

I am using Vert.x and I am trying to get items from DynamoDB table, by sort key and partition key. Here is how I build the client private static DynamoDbAsyncClient buildDynamoDBAsyncClient(final Vertx vertx) { return…
Nane Petrosyan
  • 553
  • 1
  • 7
  • 19
0
votes
1 answer

Vert.x worker instances non Round-Robin message processing

Based on the documentation and some testing, I am seeing that Vert.x queues messages in round-robin manner for instances of a Vertical e.g. if I have 2 instances of "notification" worker vertical and 10 messages are incoming, Instance #1 processes -…
AbhishekN
  • 368
  • 4
  • 8
0
votes
2 answers

Vert.x: How to send a post request?

My first Vertx Web app : I expect To get the index.html at localhost.8080/Test then find a way to retrieve the data, but the page doesn't show I have a RequestResponseExample class: public class RequestResponseExample extends AbstractVerticle { …
0
votes
1 answer

Is it possible to replace an item in the JSON array with the help of a pointer using Vert.x JSON Pointer?

While using Vert.x, for manipulating JSONs I'm using a JSON Pointer. Recently came across having to do the same with JSON arrays. Here's the sample code I tried. String jsonInput =…
Hegdekar
  • 1,147
  • 1
  • 13
  • 16
0
votes
1 answer

What are the limits of vert.x handler<> and why futur is used instead?

What are the limits of vert.x handler<> and why futur is used instead ! What is the difference between the handler interface and futur ?
0
votes
1 answer

Vertx - Multiple failureHandlers for the same route

The question is simple: is it possible to have multiple failure handlers for one route? router.route(HttpMethod.POST, "/test") .handler(LoggerHandler.create()) .handler(ResponseTimeHandler.create()) …
0
votes
1 answer

VertX multiple Worker Instances processing same message

I have a simple Vertx worker vertical with 4 instances for scaling as defined below. When multiple requests come, I was expecting that each worker instances will process individual request concurrently (4 requests at a time). Vertx vertx =…
AbhishekN
  • 368
  • 4
  • 8
0
votes
1 answer

onFailure() not triggering on WebApplicationException in Vert.x reactive WebClient

I'm running Quarkus 2.7.0.CR1 with this code: return httpRequest.sendBuffer(createBuffer()) .onSubscription() .invoke(() -> metricsRecorder.start(METRICS_NAME)) .onFailure() …
Panu Haaramo
  • 2,932
  • 19
  • 41
0
votes
0 answers

Vert.x Web app throws IllegalStateExceptions when run in a Docker container

I have a Vert.x Web application that acts as a simple web server. The start() method of the verticle is below: @Override public void start() throws Exception { HttpServerOptions options = new HttpServerOptions(); …
Factor Three
  • 2,094
  • 5
  • 35
  • 51
0
votes
1 answer

Vertx JDBCCLient insert BLOB into database

I used vertx 3.9.12 and JDBCCLient. How to insert image to BLOB column? Thank in advance
Phannin
  • 5
  • 4
0
votes
1 answer

How to implement a cache in a Vertx application?

I have an application that at some point has to perform REST requests towards another (non-reactive) system. It happens that a high number of requests are performed towards exactly the same remote resource (the resulting HTTP request is the same). I…
0
votes
1 answer

Disable OpenTelemetry tracing on quarkus for vertx reactive

I am currently attempting to add openTelemetry tracing to my quarkus project. It is a lambda that reaches out to datasources and does some processing. Currently, we are using reactive pgadmin, but when I try to make queries when using the…
0
votes
1 answer

What happens with old jwt token in vert.x?

Does it just expire at the same time when the new one was generated or it still lives for some specified period?
Sandro700
  • 3
  • 1
0
votes
1 answer

quarkus(vertx) how to get request body in a blocking way

What I've tried: inject CurrentVertxRequest context and then get body from there @Path("/map_event") public class MapEventApi { @Inject CurrentVertxRequest reqContext; @POST @Consumes({ "application/json" }) @Produces({…
Ziqi Liu
  • 2,931
  • 5
  • 31
  • 64
0
votes
0 answers

QuestDB and Vertx + Micrometer

I am trying to use QuestDB as a replacement for InfluxDB but looks like it is not working. MicrometerMetricsOptions options = new MicrometerMetricsOptions() .setInfluxDbOptions(new…
himanshu_mps
  • 170
  • 12