vertx / io.vertx.core / VertxOptions / setClusterManager

# setClusterManager

`open fun setClusterManager(clusterManager: ClusterManager): VertxOptions`

Programmatically set the cluster manager to be used when clustering.

Only valid if clustered = true.

Normally Vert.x will look on the classpath for a cluster manager, but if you want to set one programmatically you can use this method.

### Parameters

`clusterManager` - the cluster manager

Return
a reference to this, so the API can be used fluently