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
0 answers

vertx unit test never execute request

I want to create a vertx unit test. This test just create a consumer and execute a request. EventBus eventBus = this.vertx.eventBus(); final TestSuite processTestSuite = TestSuite.create("Use Case Verticle Test Suite"); processTestSuite …
Qeychon
  • 477
  • 1
  • 5
  • 15
0
votes
1 answer

Reactive driver for MariaDB

I'm using Quarkus + Munity + Reactive Driver for MariaDB. I have a question to understand how reactive driver is working. I want to process 20_000_000 entries stored in my database. For that, I want to stream entries efficiently to apply a…
Malys
  • 61
  • 1
  • 5
0
votes
1 answer

Vertx GRPC Stream Observer

I have implemented GRPC bidirectional streaming service using vertx. Once I got the responses from server side, I have to do another process based on the response. For this I have used requestStreamObserver.onCompleted(), But right after this…
ThilinaMD
  • 365
  • 3
  • 13
0
votes
1 answer

How to interpret Vertx Web LoggerHandler output

I am using LoggerHandler in a vertx web project. I am a bit confused about the output of the logger: WARNING: 0:0:0:0:0:0:0:1 - - [Sat, 15 Jan 2022 18:38:43 GMT] "DELETE /article_categories/1 HTTP/1.1" 400 102 "http://cbt:8080/" "Mozilla/5.0…
ekene
  • 111
  • 8
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 ?
0
votes
1 answer

How efficient are java 11 java.net.http.Websocket comparing to undertow or vert.x, netty

I can't find performance benchmark of java 11 client/server websockets comparing to undertow, jetty, vert.x. Is there any benchmark test out there and i just missed it or there is no such benchmark (which would be quite strange)?
Jonhtra
  • 897
  • 2
  • 12
  • 18
0
votes
1 answer

Vertx mysql connection stops responding on NullPointerException

Came across a peculiar problem with an application implemented in vertx. I have a connection pool of ~20 connections. Once a NullPointerException is encountered in any of the request, the mysql connection stops responding. Found below logs but could…
Rahul
  • 31
  • 3
0
votes
1 answer

How to use vert.x eventbus to communicate between openfaas functions

I am using Vert.x in my openfaas function and I want to communicate between them using vert.x event bus but I am not sure how to use event bus for out side of a function. It works in same function. I didn't find any documentation or resource about…
Rakesh
  • 1,035
  • 1
  • 14
  • 31
0
votes
2 answers

How to convert a CompletableFuture to a Vert.X Future

I'm trying to execute a db transaction with the vertx reactive sql client in a coroutine. Somehow I can't figure out how I can convert the CompletableFuture to the desired io.vertx.core.Future type. Are there any helper methods or extensions to do…
Ahmet K
  • 713
  • 18
  • 42
0
votes
1 answer

In vert.x java app, how to display line numbers in stacktrace , instead of "Unknown Source"?

I have an application based on Vert.x. When it throws exceptions there are no line numbers, for example: at com.someapp.class1.a(Unknown Source) at com.someapp.class1.a(Unknown Source) at com.someapp.class2.a(Unknown Source) at…
Michael
  • 2,835
  • 2
  • 9
  • 15
0
votes
2 answers

Vert.x Future returns false while checking status

I have a method which returns a Future like so, private Future generateChildSerial(RoutingContext context, Long createJobID) and after I insert data in to the database I return future like so, db .preparedQuery(sql) …
ZAJ
  • 793
  • 3
  • 23
  • 50
0
votes
0 answers

I need to get the underlying java.sql.Connection from Vert.x's io.vertx.sqlclient.SqlConnection (new vertx jdbc api)

I need to get the underlying java.sql.Connection from Vert.x's io.vertx.sqlclient.SqlConnection (new vertx jdbc api) Here is the solution for vertx legacy jdbc api solved by @tsegismont I need to get the underlying java.sql.Connection from Vert.x's…
0
votes
0 answers

Quarkus+Vert.x: parallel threads?

I study quarkus, mutiny and vert.x. I want to create connections with two databases and fetch data in parallel. I create two similar verticles (second verticle differs only datasource name, mapper and entity): @ApplicationScoped public class…
0
votes
1 answer

How can I return my database values ​through Vertx?

Good afternoon, I'm trying to get the values from my database and add them to a list and I always get null. What is the cause and how could it save those values? When it comes to printing by console I have no problem. Best regards. public…
Neo
  • 3
  • 2
0
votes
0 answers

How does Vertx java handle Oracle's RETURNING BULK COLLECT INTO clause

I was trying to implement RETURNING BULK COLLECT INTO clause feature in vertx java. I saw many example but was not able to figure out. Didn't find PreparedStatement or registerReturnParameter kind of thing. Can you please help. My Query looks…
Amit Sinha
  • 566
  • 7
  • 22
1 2 3
99
100