Questions tagged [vertx-eventbus]

98 questions
0
votes
1 answer

eventBus().consumer() never gets called

I have added vert.x to a Spring Boot application by adding these dependencies to build.gradle: compile "io.vertx:vertx-core:3.8.1" compile "io.vertx:vertx-lang-groovy:3.8.1" I want to use the vert.x EventBus to implement reactive code…
greymatter
  • 840
  • 1
  • 10
  • 25
0
votes
1 answer

How can I send RoutingContext object from routing verticle to some other verticle using vertx.eventBus().send() method?

From my routing verticle which has route URL, I want to send RoutingContext object to another verticle. I believe we can only use vertx.eventBus().send() to send message from routing verticle to some other action verticle. Can I send RoutingContext…
Nags
  • 273
  • 1
  • 4
  • 16
0
votes
1 answer

Vertx eventbus and verticle instances

We currently using 2 instances per verticle for our scaling needs, i just had a query regarding the evenBus publish. If the eventBus publishes a message does this message get delivered to N instances of the verticle…
user160108
  • 930
  • 3
  • 8
  • 38
0
votes
1 answer

How to fix "Internal Server Error" on using EventBus in custom AuthProvider

Using vert.x EventBus in a custom AuthProvider does give "Internal Server Error" on future completion. Built a custom AuthProvider, which gets user data from EventBus. EventBus and user data are returned correctly, but after succeededFuture() the…
J. Hauser
  • 233
  • 1
  • 16
0
votes
0 answers

Performance issues with vert.x

When running the test using apache bench for a vert.x application, we are seeing that the response time increased as we increase the number of concurrent users. D:\httpd-2.2.34-win64\Apache2\bin>ab -n 500 -c 1 -H "Authorization: 5" -H "Span_Id: 4"…
himanshu_mps
  • 170
  • 12
0
votes
0 answers

Opentracing propagation over eventbus

Trying to setup java-vertx-web for opentracing Tracer, Followed the readme to complete the configuration at https://github.com/opentracing-contrib/java-vertx-web Reactivated the span from routingContext which is set up by TracingHandler in start()…
kiran reddy
  • 135
  • 17
0
votes
0 answers

Vertx 3.6.3: eventBus.send() with DeliveryOptions fail

my Groovy code: class GatewayVerticle extends AbstractVerticle { DeliveryOptions HOP_OPTS = new DeliveryOptions( sendTimeout:5000 ) // also tried //DeliveryOptions HOP_OPTS = new DeliveryOptions() //DeliveryOptions HOP_OPTS = new…
injecteer
  • 20,038
  • 4
  • 45
  • 89
-1
votes
1 answer

Vert.x event bus performance issue (design problem)

I am still getting familiar with vert.x. Coming from Spring boot and Spring webflux background, I wanted to try out some basic stuffs that I used to do in Spring eco-system. So my idea was writing an api exposed via a controller, which will delegate…
1 2 3 4 5 6
7