Specifying options when creating a Vertx object
When creating a Vertx object you can also specify options if the defaults aren’t right for you:
Vertx vertx = Vertx.vertx(new VertxOptions().setWorkerPoolSize(40));
The VertxOptions object has many settings and allows you to configure things like clustering, high availability, pool sizes and various other settings. The Javadoc describes all the settings in detail.