vert.x Questions
3
Solved
I have a rather simple project structure in Maven with sub-modules:
/
-pom.xml
-Utils/
-pom.xml
In /pom.xml I define properties for all sub-modules, like library versions or plugins configuration...
Archery asked 21/5, 2018 at 14:40
7
while doing logs in the multiple module of vertx, it is a basic requirement that we should be able to correlate all the logs for a single request.
as vertx being asynchronous what will be the best...
Runt asked 11/7, 2017 at 22:44
4
Solved
We use Futures in vertx in examples like:
Future<JsonObject> fetchVehicle = getUserBookedVehicle(routingContext, client);
fetchVehicle.compose(vehicleJson -> vehicleDoor(routingContext,...
2
I am using Vert.x 3.0.0-milestone5, to develop a sample web application. Everything is working fine as far as the routing is concerned, but I am not able to access request parameters using
routing...
4
Solved
I have a service called TestService which extends AbstractVerticle:
public class TestService extends AbstractVerticle {
@Override
public void start() throws Exception {
//Do things
}
}
I the...
2
Solved
I have a module in my class called MainModule. It has various bindings in it, one of which is a binding to my custom service interface called HttpClientPool
public class MainModule extends Abstrac...
Jacintojack asked 12/12, 2014 at 22:54
3
I am using vertx 3.0 with spring boot. Now I am trying to config logger log levels, using below config:
JVM Arguments:
-Dspring.profiles.active=dev
-Dvertx.logger-delegate-factory-class-name=io....
5
Solved
I usually see the use of either promise and future in the start of a vert.x verticle. Is there any specific difference between both?
I have read about their differences in Scala language, is it the...
4
Solved
I need to make the user keep login in the system if the user's access_token get expired and user want to keep login. How can I get newly updated access_token with the use of refresh_token on Keyclo...
2
Solved
I would like to test a simple polling example from https://smallrye.io/smallrye-mutiny/guides/polling and poll the data of a service into a Kafka stream.
This is a simplified example of a class I w...
Hickman asked 4/11, 2021 at 8:6
4
Solved
I have a vert.x web app written in Kotlin and Gradle as the build tool. The web app has been generated with https://start.vertx.io/.
In the build.gradle.kts it shows:
that mainClassName has been d...
5
I wanted to check if we can use getparam to parse start_time and end_time from the below request URL
https://[--hostname--]/sample_app/apthroughput/getAllControllers?start_time=<start time valu...
1
I try to use kapt and vertx-Codegen to generate my service.But the output path is /build/generated/source/kapt/main/. I want /src/main/generated/.
Config the build.gradle.kts,I find generate adoc ...
1
Solved
I am trying to convert my Quarkus vertex sample to pure Vertx 4.0 and encountered a problem.
In Quarkus, it is easy to customize the Jackson ObjectMapper to serialize or deserialize the HTTP messag...
Divergent asked 10/12, 2020 at 12:45
3
Solved
Every few months when thinking through a personal project that involves sockets I find myself having the question of "How would you properly load balance sockets on a dynamic horizontally scaling W...
3
Solved
I have a requirement to set system property in spring boot application.
I don't want to set it from command line.
My concern is what is the best practice to do it.
Either from constructor
Or insi...
Eri asked 15/8, 2018 at 22:13
3
Solved
I ran in to a strange issue with Vert.x futures the other day that doesn't break the code but bothers me still.
Future without parameter results in the following warning:
Future is a raw type. ...
1
Solved
We are using vertx oauth2 components to implement login with cognito using oauth2 authorization code grant. We could implement the scenario using existing APIs. But vertx expect token introspect pa...
Trudey asked 14/8, 2020 at 8:37
1
Solved
I created a verticle named HttpServerVerticle and inside it let it create a HttpServer instance by vertx.createHttpServer(), then in my main verticle I deployed this HTTP verticle with > 1 insta...
Dougie asked 24/6, 2020 at 15:28
4
Solved
I am evaluating the vert.x framework to see if I can reduce the Kafka based communications between my microservices developed using spring boot.
The question is:
Can I replace
Kafka with vert.x ev...
Alee asked 19/12, 2018 at 6:1
2
Solved
when I was sync I wrote unit tests mocking the persistence part and check the caller's behavior. Here is an example about what I usually did:
@Mock
private OfferPersistenceServiceImpl persistenceS...
Information asked 21/12, 2017 at 11:34
5
Solved
My Vertx Server resides in server A and client resides in server B. When i tried to access vertx server, CORS error pops in. I added some server side code to handle CORS issue but it's not working....
Lapides asked 17/8, 2016 at 12:9
6
Solved
I am currently working on a vertx.io application and wanted to use the provide mongo api for data storage. I currently have a rather clunky abstraction on top of the stock JsonObject classes where ...
4
Solved
The BlockedThreadChecker causes a lot of stdout when debugging vert.x code.
This question relates to vert.x 3.
Colorfast asked 12/2, 2015 at 9:50
1
Solved
I have a Vert.x 3.7.1 method that deploys a bunch of verticles and if all of the deployments succeed, sends a message through the event bus that does some startup work. The structure of the method ...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.