<repositories>
<repository>
<id>clojars</id>
<name>Clojars repository</name>
<url>https://clojars.org/repo</url>
</repository>
</repositories>
<dependency>
<groupId>io.raven.vertx</groupId>
<artifactId>vertx-service-discovery-backend-ranger</artifactId>
<version>3.9.1-4</version>
</dependency>
JsonObject config = new JsonObject()
.put("zkConnectionString", "localhost:2181")
.put("host", "localhost")
.put("port", 8080)
.put("env", "test")
.put("namespace", "test")
.put("service", "my-service")
.put("baseSleepTimeBetweenRetries", 10)
.put("refreshTimeMs", 5000)
.put("connectionTimeoutMs", 1000));
RangerBackendServicePublisher.publish(vertx, config, record -> {
....
});
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close