Questions tagged [vertx-eventbus]
98 questions
0
votes
1 answer
Vertx event bus not communicating in single JVM
I have two verticles as below
First verticle is just listening on a address test and reply to messages
public class FirstVerticle extends AbstractVerticle {
@Override
public void start() {
Logger logger =…

vel
- 173
- 9
0
votes
1 answer
Vertx event bus reply handler not getting invoked for a specific call
I'm running a local instance of vertx. Router redirects my requests to a worker verticle which has the following handler:
protected Handler> handler1() {
return msg -> {
final RequestBody req =…

Aman
- 115
- 1
- 10
0
votes
1 answer
How to test a verticle that does not wait for acks to its messages?
I want to test a worker verticle that receives requests over EventBus and sends the results also over EventBus. A single request may result in 0,1,2,... responses - in general cases we don't know how many responses we'll get.
The business logic is…

Alexey Nezhdanov
- 117
- 9
0
votes
1 answer
Quarkus Panache Repository call silently fails when called from an EventBus @ConsumeEvent
Quarkus 1.8.3.Final
Making a direct call to a method that accesses a PanacheRepository works as expected, but when calling the same method via the EventBus, the call reaches the method and executes every line until it reaches any repository call and…

Péter Veres
- 955
- 1
- 10
- 25
0
votes
2 answers
Vertx timing out for DynamoDB insert calls
I am using DynamoDB with Vertx and one of my verticles is getting timed out with error
Timed out after waiting 30000(ms) for a reply. address
eventBus.send("test", testObject, x -> {
if (x.succeeded()) {
log.info("done successfully")
}…

saurabh
- 293
- 2
- 7
- 19
0
votes
0 answers
Vertx: Multiple consumers in multiple instances of a Verticle
I my application I have two verticles (Standard one and NOT workers), one of which, say VerticleA, produces some messages and the other one, say VerticleB, consumes them. In VerticleB I create several consumers to consume these messages.
class…

Abdullah
- 7,143
- 6
- 25
- 41
0
votes
1 answer
How to make Vert.x EventBus.send process requests sequentially?
I'm new to vert.x and would like to know if its possible to configure eventbus somehow to make it work consistently?
I mean need to send requests one by one using vert.x
At the moment I got this code which uses eventloop principle and waits until…

Sad Santa
- 17
- 1
- 7
0
votes
1 answer
VertX eventbus publish event causing high CPU
We are using vertx.eventBus().publish() method from APIs for GET , POST , PATCH , PUT calls.
This method consumer is only pushing the data to cache [ we are using HazleCast cache ]. So this consumer is being called from all the APIs [ highly…

arupc
- 356
- 1
- 3
- 12
0
votes
1 answer
message passing between 2 verticles under 2 different Vertx instances. Is it possible?
I'm trying to make communication possible between 2 verticles (X, Y) deployed using 2 different Vert.x instances.
X sends a message on "Address" eventbus().send("Address", message, replyHandler)
Is it possible for Y to listen on same address?…

Akash Gupta
- 23
- 4
0
votes
1 answer
what is the use case of vertx multi verticle in single microservice?
In most of the web the applications built in the vertx, I have seen that in a single microservice people create two verticles.
One is rest verticle to handle HTTP requests.
Another is to dao verticle to communicate to the database.
Whenever there…

Deepak Chougule
- 51
- 1
- 8
0
votes
2 answers
How to upload a file to vertx FileSystem, so I can read the file using routingContext.fileUploads()
I wrote a verticle to read the multipart form data from the vertx filesystem using routingContext.fileUploads(). Now I want to write a testcase. I am trying to upload a file to vertx filesystem, so I can call my verticle to read the file from the…

STK
- 93
- 2
- 12
0
votes
1 answer
Throttle messages in Vertx eventbus
Since eventbus in Vertx is made for asynchronous message passing, is it possible to throttle the rate at which these messages gets processed? If so can we achieve using worker verticles or do we have to create a separate thread group.
The point is…

user2585494
- 483
- 2
- 7
- 18
0
votes
2 answers
When would I want to create more than one verticles (assuming I am using non-blocking db clients in a stateless microservice)?
Assuming
I am building a stateless micro-service which exposes a few simple API endpoints (e.g., a read-through cache, save an entry to database),
I am using the non-blocking database clients e.g., mysql or redis and
I always want my…

mintuhouse
- 449
- 5
- 16
0
votes
2 answers
Vertx Service Proxy class not calling another method till another is completed
I have implemented service proxy class over the event bus, which has 2 methods (collect & cancel) collect method is taking 4 to 5 minutes to complete because it is over the network and collecting the data from the device.
But in between collecting…

Ravat Tailor
- 1,193
- 3
- 20
- 44
0
votes
1 answer
Chaos testing of Vertx Application
Pointers on any tool for chaos testing of Vertx application deployed on Openshift. Will chaos monkey work or any other tool out there?

Sandeep Shetty
- 167
- 2
- 12