jponge / vertx-gradle-plugin

An opinionated Gradle plugin for Vert.x projects
Apache License 2.0
113 stars 15 forks source link

Is it possible to deploy multiple verticles? #51

Closed RdeWilde closed 3 years ago

RdeWilde commented 3 years ago

In the current configuration I can define a main verticle. But would it also be possible to deploy a list of verticles?

Additionally, would it be possible to define the number of instances per verticle? https://vertx.io/docs/vertx-core/java/#_specifying_number_of_verticle_instances

(Also interesting to integrate https://vertx.io/docs/vertx-core/java/#_specifying_number_of_verticle_instances)

jponge commented 3 years ago

The classic pattern is that your main verticle deploys the other verticles.

You may also look at https://github.com/jponge/vertx-boot (quite simple)