{"record":{"id":"fe818d2df3da88a0","repo":"eclipse-vertx/vert.x","slug":"clusterpingreplyinterval-must-be-greater-than-0","errorCode":null,"errorMessage":"clusterPingReplyInterval must be greater than 0","messagePattern":"clusterPingReplyInterval must be greater than 0","errorType":"validation","errorClass":"IllegalArgumentException","httpStatus":null,"severity":"error","filePath":"vertx-core/src/main/java/io/vertx/core/eventbus/EventBusOptions.java","lineNumber":573,"sourceCode":"  /**\n   * Get the value of cluster ping reply interval, in ms.\n   * After sending a ping, if a pong is not received in this time, the node will be considered dead.\n   *\n   * @return the value of cluster ping reply interval\n   */\n  public long getClusterPingReplyInterval() {\n    return clusterPingReplyInterval;\n  }\n\n  /**\n   * Set the value of cluster ping reply interval, in ms.\n   *\n   * @param clusterPingReplyInterval The value of cluster ping reply interval, in ms.\n   * @return a reference to this, so the API can be used fluently\n   */\n  public EventBusOptions setClusterPingReplyInterval(long clusterPingReplyInterval) {\n    if (clusterPingReplyInterval < 1) {\n      throw new IllegalArgumentException(\"clusterPingReplyInterval must be greater than 0\");\n    }\n    this.clusterPingReplyInterval = clusterPingReplyInterval;\n    return this;\n  }\n\n  /**\n   * Get the public facing host to be used when clustering.\n   *\n   * @return the public facing port\n   */\n  public String getClusterPublicHost() {\n    return clusterPublicHost;\n  }\n\n  /**\n   * Set the public facing hostname to be used for clustering.\n   * Sometimes, e.g. when running on certain clouds, the local address the server listens on for clustering is\n   * not the same address that other nodes connect to it at, as the OS / cloud infrastructure does some kind of","sourceCodeStart":555,"sourceCodeEnd":591,"githubUrl":"https://github.com/eclipse-vertx/vert.x/blob/fb308bd8c3f12c79f4ae89bef67fadf6c80d036e/vertx-core/src/main/java/io/vertx/core/eventbus/EventBusOptions.java#L555-L591","documentation":"Configuration validation in setClusterPingReplyInterval: the time in milliseconds to wait for a pong before considering a cluster node dead must be positive. A non-positive reply window would immediately mark healthy nodes as dead, so the setter rejects it.","triggerScenarios":"Thrown at vertx-core/src/main/java/io/vertx/core/eventbus/EventBusOptions.java:573 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a positive reply interval in ms (default 20000)","Validate values deserialized from JSON configuration"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fb308bd8c3f12c79f4ae89bef67fadf6c80d036e","analyzedAt":"2026-09-06T11:37:12.241Z","contentChangedAt":"2026-09-06T11:37:12.241Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}