Questions tagged [vertx3]

Vert.x is a polyglot event-driven application framework for building reactive applications which run on the Java Virtual Machine.

Vert.x is a lightweight, polyglot, event-driven high performance application platform for the JVM that's designed for modern reactive applications.

41 questions
3
votes
1 answer

vert.x getting - failed to create a child event loop

I am creating about 150 files of around 5MB sizes. Vertx file APIs gives an exception randomly after creating 10-15 files "failed to create a child event loop". (I am using vertx3 and java8) Below is my code snippet (After I get a callback then only…
prasun
  • 7,073
  • 9
  • 41
  • 59
3
votes
1 answer

Use case for vertx.clusteredVertx using JavaScript

What is the use case for using vertx.clusteredVertx using javascript? I can start vertx from command line in clustered mode using: vertx run server.js --cluster I can (in my server.js file) create another vertx instance using: var Vertx =…
Tereska
  • 751
  • 1
  • 7
  • 25
3
votes
1 answer

Vertx3 - EventBus not working in a cluster

I am using vertx3. I tried with version 3.0.0 - 3.1.0 - 3.2.0-SNAPSHOT and in all of them is happening. For simplify the problem I created 2 simple Verticles. The first one act as a consumer of a message and the second one send a message through the…
Javier Salinas
  • 617
  • 6
  • 15
2
votes
2 answers

i want to putHeader to my url when timeout equal 5s but it error "java.lang.IllegalStateException: Response has already been written"

I want to redirect to another url when timeout equal 5s. Code that I have: private void timeout(RoutingContext handler) { vertx.setPeriodic(5000, new Handler() { @Override public void handle(Long aLong) { …
2
votes
3 answers

How can I batch Kafka reads to Elasticsearch

I'm not too familiar with Kafka but I would like to know what's the best way to read data in batches from Kafka so I can use Elasticsearch Bulk Api to load the data faster and reliably. Btw, am using Vertx for my Kafka consumer Thank you,
2
votes
0 answers

How to incorporate SOAP webservices within a vertx server

Is it possible to integrate SOAP web services within vertx server?
Master Mind
  • 3,014
  • 4
  • 32
  • 63
1
vote
2 answers

Vertx event bus can not send message to different verticle

I am pretty new to Vertx, but I am pretty interested in testing its integration with Spring. I used Spring boot to boost the project, and deployed two verticles. I want them to communicate with each other using event bus, but failed. This is what I…
user3006967
  • 3,291
  • 10
  • 47
  • 72
1
vote
1 answer

Failed to return value from Postgres store procedure in Vertx3

I can't seems to get value returned from postgres db...any idea how to fix this ? JsonArray outParam = new JsonArray().add("integer"); connection.callWithParams(spAddUser, params, outParam, response -> { if (response.succeeded()) { …
Philip K. Adetiloye
  • 3,102
  • 4
  • 37
  • 63
1
vote
1 answer

Vertx model binding for my Rest API layer

I'm using Vertx 3, and I'm trying to find a good decoupled module that knows to turn query-string, headers and both content-type and body into a bean? I know spring does that and various other frameworks as well, but I don't want to introduce a new…
Shachar
  • 487
  • 5
  • 15
1
vote
1 answer

vertx.io vertical stop working on exception

Working with vertx.io 3.0.0, when an exception is thrown and not catch in the JAVA API the vertical freezes. We are working on a single server environment, the server is not in a cluster. Any thoughts?
David Laberge
  • 15,435
  • 14
  • 53
  • 83
1
vote
0 answers

Bulk inserts in Vert.x RXJava

I'm experimenting both Vert.x and Reactive Extensions together (RXJava) and finding it difficult to compose async events. Problem statement Establish a DB connection with auto commit turned off. Bulk insert data into a table1 Update status in…
user378101
  • 649
  • 3
  • 12
  • 19
1
vote
1 answer

Vertx router configuration

I am a novice with vertx so maybe I am doing something wrong. I am trying to implement the following…
Tammeuh
  • 21
  • 1
  • 6
1
vote
1 answer

Vertx JavaScript "ClassNotFoundException" with IntelliJ IDEA

I am trying to run a Vertx 3.1.0 JavaScript application with IntelliJ IDEA on Windows 7 (64 bit). The IntelliJ configuration is used from this question. If I use the command line from the diretory "C:\Development\Workspace\Java\vertx\hello" with…
Marc
  • 210
  • 3
  • 11
0
votes
1 answer

Vertx : cannot read SQLConnection from fillReport

I want to use vertx and JasperReports, I create my connection and I test it, everything is ok, but when I want to fill jasper report by using fillReport method (where the last one is Connection) it shows error : The method fillReport(JasperReport,…
zackzulg
  • 599
  • 2
  • 5
  • 21
0
votes
1 answer

How to safely write to one file from many verticle instances in vert.x 3.2?

Instead of using a logger or database server I'd like to append information to one file from possibly many verticle instances. There are versions of methods for writing asynchronously to a file. Can I assume that vertx handles the…
user3464741