Vert.x · Example Payload

Vertx Config Example

Event-DrivenFrameworksJavaJVMMicroservicesPolyglotReactiveEclipse FoundationOpen Source

Vertx Config Example is an example object payload from Vert.x, with 13 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

httpeventBusclusterworkerPoolSizeeventLoopPoolSizeinternalBlockingPoolSizehaEnabledhaGroupquorumSizeblockedThreadCheckIntervalmaxEventLoopExecuteTimemaxWorkerExecuteTimewarningExceptionTime

Example Payload

vertx-config-example.json Raw ↑
{
  "http": {
    "port": 8080,
    "host": "0.0.0.0",
    "ssl": false,
    "compressionSupported": true,
    "idleTimeout": 30,
    "maxWebSocketFrameSize": 65536
  },
  "eventBus": {
    "clusterPublicHost": "10.0.1.45",
    "clusterPublicPort": 5701,
    "clusterPingInterval": 20000,
    "clusterPingReplyInterval": 20000,
    "connectTimeout": 60000
  },
  "cluster": {
    "enabled": true,
    "clusterManager": "io.vertx.spi.cluster.hazelcast.HazelcastClusterManager"
  },
  "workerPoolSize": 20,
  "eventLoopPoolSize": 4,
  "internalBlockingPoolSize": 20,
  "haEnabled": true,
  "haGroup": "production",
  "quorumSize": 2,
  "blockedThreadCheckInterval": 1000,
  "maxEventLoopExecuteTime": 2000000000,
  "maxWorkerExecuteTime": 60000000000,
  "warningExceptionTime": 5000000000
}