<main-verticle> defines the main verticle to deploy, it can be
a fully qualified class name
or a file.
Cluster
cluster If specified then the vert.x instance will form a cluster with any other vert.x instances on the network.
--cluster-host <host> host to bind to for cluster communication. If this is not specified vert.x will attempt to choose one from the available interfaces.
--cluster-port <port> Port to use for cluster communication. Default is 0 which means choose a spare random port.
--cluster-public-host <public-host> - Public host to bind to for cluster communication. If not specified, Vert.x will use the same as cluster host.
--cluster-public-port <public-port> - Public port to use for cluster communication. Default is -1 which means same as cluster port.
Vertx
--options <options> - Specifies the Vert.x options. (Json file or String)
There is a mapping between system properties and Vert.x Options as in:
-Dvertx.options.workerPoolSize=20
Verticle
--conf <config> Specifies configuration that should be provided to the verticle. (Json file or string)
--instances <instances> Specifies how many instances of the verticle will be deployed. Defaults to 1.
--worker If specified then the verticle is a worker verticle.
The deployment options of the main verticle can also be configured from system properties:
-Dvertx.deployment.options.worker=true
-Dvertx.deployment.options.instances=2 # 1 by default
--on-redeploy <cmd> Optional shell command executed when a redeployment is triggered.
--redeploy <includes> Enable automatic redeployment of the application. This option takes a set on includes as parameter indicating which files need to be watched. Patterns are separated by a comma.
--redeploy-grace-period <period> When redeploy is enabled, this option configures the grace period between 2 redeployments. The time is given in milliseconds. 1000 ms by default.
--redeploy-scan-period <period> When redeploy is enabled, this option configures the file system scanning period to detect file changes. The time is given in milliseconds. 250 ms by default.
--redeploy-termination-period <period> When redeploy is enabled, this option configures the time waited to be sure that the previous version of the application has been stopped. It is useful on Windows, where the 'terminate' command may take time to be executed.The time is given in milliseconds. 0 ms by default.