This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 1f83f2f48785 chore: docs - fix doc and Javadoc slips found while
checking the catalog descriptions (#31214)
1f83f2f48785 is described below
commit 1f83f2f487853c8822ce54b4c979a1d2d2ce5a06
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Dec 2 10:21:51 2026 +0100
chore: docs - fix doc and Javadoc slips found while checking the catalog
descriptions (#31214)
Part of [CAMEL-27980](https://issues.apache.org/jira/browse/CAMEL-27980):
doc and Javadoc slips found while checking the catalog descriptions. Doc-only,
no behavior change.
**Doc pages** (with their catalog copies)
- attachments: the module uses `jakarta.activation`, not `javax`; there is
no `javax.attachments` API.
- redis: the module provides an aggregation repository and a key-value
repository, not an `AggregationStrategy`.
- jasypt: the values are decrypted once the master password is configured,
not by adding the jar alone.
- undertow-spring-security: the attribute is `securityFilter` (the table
said `securityFiler`); the Spring Security version is no longer pinned to 5.x
in the text.
- clustering.adoc: the hand-written option tables of the Consul,
Infinispan, JGroups Raft and ZooKeeper cluster services had the old texts; the
rows whose catalog text was rewritten in #31209 now say the same.
**Javadoc**
- `CamelContext.setAutoStartupExcludePattern`: the example `kafka,jms`
matched nothing; it is `kafka*,jms*`.
- `BacklogTracer`: `isTraceRests`/`setTraceRests` described JSON output and
route templates; they are about Rest DSL routes. `Tracer.setTraceRests` said
route templates as well. `bodyMaxChars` counts characters, not bytes.
- `BacklogTracer`, `Tracer` and `TracerConfigurationProperties`: "routes
that is created" is "routes that are created" (also in the generated
`camel.trace.traceRests`/`traceTemplates` docs).
- `MessageHelper`: a negative `maxChars` leaves the body out; it does not
mean unlimited.
- `RouteFilters`: typo.
Not in this PR: the texts of the EIP model (`core/camel-core-model`:
Resilience4j `timeoutExecutorService`, the fault tolerance options,
`restConfiguration`, `sslContextParameters`), which regenerate the XML and YAML
schemas, so they get their own PR.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
.../org/apache/camel/catalog/docs/attachments.adoc | 4 +--
.../org/apache/camel/catalog/docs/jasypt.adoc | 4 +--
.../org/apache/camel/catalog/docs/redis.adoc | 3 +-
.../catalog/docs/undertow-spring-security.adoc | 4 +--
.../src/main/docs/attachments.adoc | 4 +--
components/camel-jasypt/src/main/docs/jasypt.adoc | 4 +--
components/camel-redis/src/main/docs/redis.adoc | 3 +-
.../src/main/docs/undertow-spring-security.adoc | 4 +--
.../main/java/org/apache/camel/CamelContext.java | 2 +-
.../java/org/apache/camel/spi/BacklogTracer.java | 12 ++++----
.../src/main/java/org/apache/camel/spi/Tracer.java | 4 +--
.../java/org/apache/camel/model/RouteFilters.java | 4 +--
.../org/apache/camel/support/MessageHelper.java | 20 +++++++-------
.../user-manual/modules/ROOT/pages/clustering.adoc | 32 +++++++++++-----------
14 files changed, 53 insertions(+), 51 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/attachments.adoc
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/attachments.adoc
index 9a9ed5a86416..9374e178c493 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/attachments.adoc
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/attachments.adoc
@@ -9,12 +9,12 @@
*Since Camel {since}*
-The Attachments component provides the `javax.attachments` API support for
Apache Camel.
+The Attachments component adds support for message attachments to Apache
Camel, with the `AttachmentMessage` API.
A few Camel component uses attachments such as mail and web-service components.
The Attachments component is included automatically when using these
components.
The Attachments support is on Camel `Message` level, for example to get
-the `javax.activation.DataHandler` instance of the attachment, you can do as
shown below:
+the `jakarta.activation.DataHandler` instance of the attachment, you can do as
shown below:
._Java-only: retrieving an attachment via Exchange API_
[source,java]
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/jasypt.adoc
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/jasypt.adoc
index 24632ec65a9e..a242ffca50bf 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/jasypt.adoc
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/jasypt.adoc
@@ -12,8 +12,8 @@
http://www.jasypt.org/[Jasypt] is a simplified encryption library that
makes encryption and decryption easy. Camel integrates with Jasypt to
allow sensitive information in xref:ROOT:properties-component.adoc[Properties]
files to
-be encrypted. By dropping *`camel-jasypt`* on the classpath those
-encrypted values will automatically be decrypted on-the-fly by Camel.
+be encrypted. With *`camel-jasypt`* on the classpath and the _master_ password
configured (see
+<<Protecting the master password>>), those encrypted values are decrypted
on-the-fly by Camel.
This ensures that human eyes can't easily spot sensitive information
such as usernames and passwords.
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/redis.adoc
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/redis.adoc
index 43f0c3724115..6652a4b71c35 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/redis.adoc
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/redis.adoc
@@ -9,7 +9,8 @@
*Since Camel {since}*
-The Redis component provides an `AggregationStrategy` to use Redis as the
backend datastore.
+The Redis component provides an aggregation repository
(`RedisAggregationRepository`) and a key-value repository
+(`RedisKeyValueRepository`) that use Redis as the backend datastore.
== Storage format
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/undertow-spring-security.adoc
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/undertow-spring-security.adoc
index 8f81954abe82..49b7abd8d8f3 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/undertow-spring-security.adoc
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/undertow-spring-security.adoc
@@ -9,7 +9,7 @@
*Since Camel {since}*
-The Spring Security Provider provides Spring Security (5.x) token bearer
security over the camel-undertow component.
+The Spring Security Provider provides Spring Security token bearer security
over the camel-undertow component.
To force camel-undertow to use spring security provider:
* Add the spring security provider library on classpath.
@@ -22,7 +22,7 @@ Configuration has to provide the following security attribute:
[width="100%"]
|===
| Name | Description | Type
-| `securityFiler` | Provides security filter gained from configured spring
security (5.x). Filter could be obtained,
+| `securityFilter` | Provides security filter gained from configured spring
security. Filter could be obtained,
for example, from `DelegatingFilterProxyRegistrationBean`. | Filter
|===
diff --git a/components/camel-attachments/src/main/docs/attachments.adoc
b/components/camel-attachments/src/main/docs/attachments.adoc
index 9a9ed5a86416..9374e178c493 100644
--- a/components/camel-attachments/src/main/docs/attachments.adoc
+++ b/components/camel-attachments/src/main/docs/attachments.adoc
@@ -9,12 +9,12 @@
*Since Camel {since}*
-The Attachments component provides the `javax.attachments` API support for
Apache Camel.
+The Attachments component adds support for message attachments to Apache
Camel, with the `AttachmentMessage` API.
A few Camel component uses attachments such as mail and web-service components.
The Attachments component is included automatically when using these
components.
The Attachments support is on Camel `Message` level, for example to get
-the `javax.activation.DataHandler` instance of the attachment, you can do as
shown below:
+the `jakarta.activation.DataHandler` instance of the attachment, you can do as
shown below:
._Java-only: retrieving an attachment via Exchange API_
[source,java]
diff --git a/components/camel-jasypt/src/main/docs/jasypt.adoc
b/components/camel-jasypt/src/main/docs/jasypt.adoc
index 24632ec65a9e..a242ffca50bf 100644
--- a/components/camel-jasypt/src/main/docs/jasypt.adoc
+++ b/components/camel-jasypt/src/main/docs/jasypt.adoc
@@ -12,8 +12,8 @@
http://www.jasypt.org/[Jasypt] is a simplified encryption library that
makes encryption and decryption easy. Camel integrates with Jasypt to
allow sensitive information in xref:ROOT:properties-component.adoc[Properties]
files to
-be encrypted. By dropping *`camel-jasypt`* on the classpath those
-encrypted values will automatically be decrypted on-the-fly by Camel.
+be encrypted. With *`camel-jasypt`* on the classpath and the _master_ password
configured (see
+<<Protecting the master password>>), those encrypted values are decrypted
on-the-fly by Camel.
This ensures that human eyes can't easily spot sensitive information
such as usernames and passwords.
diff --git a/components/camel-redis/src/main/docs/redis.adoc
b/components/camel-redis/src/main/docs/redis.adoc
index 43f0c3724115..6652a4b71c35 100644
--- a/components/camel-redis/src/main/docs/redis.adoc
+++ b/components/camel-redis/src/main/docs/redis.adoc
@@ -9,7 +9,8 @@
*Since Camel {since}*
-The Redis component provides an `AggregationStrategy` to use Redis as the
backend datastore.
+The Redis component provides an aggregation repository
(`RedisAggregationRepository`) and a key-value repository
+(`RedisKeyValueRepository`) that use Redis as the backend datastore.
== Storage format
diff --git
a/components/camel-spring-parent/camel-undertow-spring-security/src/main/docs/undertow-spring-security.adoc
b/components/camel-spring-parent/camel-undertow-spring-security/src/main/docs/undertow-spring-security.adoc
index 8f81954abe82..49b7abd8d8f3 100644
---
a/components/camel-spring-parent/camel-undertow-spring-security/src/main/docs/undertow-spring-security.adoc
+++
b/components/camel-spring-parent/camel-undertow-spring-security/src/main/docs/undertow-spring-security.adoc
@@ -9,7 +9,7 @@
*Since Camel {since}*
-The Spring Security Provider provides Spring Security (5.x) token bearer
security over the camel-undertow component.
+The Spring Security Provider provides Spring Security token bearer security
over the camel-undertow component.
To force camel-undertow to use spring security provider:
* Add the spring security provider library on classpath.
@@ -22,7 +22,7 @@ Configuration has to provide the following security attribute:
[width="100%"]
|===
| Name | Description | Type
-| `securityFiler` | Provides security filter gained from configured spring
security (5.x). Filter could be obtained,
+| `securityFilter` | Provides security filter gained from configured spring
security. Filter could be obtained,
for example, from `DelegatingFilterProxyRegistrationBean`. | Filter
|===
diff --git a/core/camel-api/src/main/java/org/apache/camel/CamelContext.java
b/core/camel-api/src/main/java/org/apache/camel/CamelContext.java
index 48124c3c8249..0eed15db81e2 100644
--- a/core/camel-api/src/main/java/org/apache/camel/CamelContext.java
+++ b/core/camel-api/src/main/java/org/apache/camel/CamelContext.java
@@ -1585,7 +1585,7 @@ public interface CamelContext extends
CamelContextLifecycle, RuntimeConfiguratio
* The pattern support matching by route id or endpoint urls.
*
* Multiple patterns can be specified separated by comma, as example, to
exclude all the routes starting from kafka
- * or jms use: kafka,jms.
+ * or jms use: kafka*,jms*.
*/
void setAutoStartupExcludePattern(@Nullable String
autoStartupExcludePattern);
diff --git
a/core/camel-api/src/main/java/org/apache/camel/spi/BacklogTracer.java
b/core/camel-api/src/main/java/org/apache/camel/spi/BacklogTracer.java
index b851379880ce..db68a1a5d0d5 100644
--- a/core/camel-api/src/main/java/org/apache/camel/spi/BacklogTracer.java
+++ b/core/camel-api/src/main/java/org/apache/camel/spi/BacklogTracer.java
@@ -90,12 +90,12 @@ public interface BacklogTracer {
void setRemoveOnDump(boolean removeOnDump);
/**
- * Maximum number of bytes to keep for the message body (to prevent
storing very big payloads)
+ * Maximum number of characters to keep for the message body (to prevent
storing very big payloads)
*/
int getBodyMaxChars();
/**
- * Maximum number of bytes to keep for the message body (to prevent
storing very big payloads)
+ * Maximum number of characters to keep for the message body (to prevent
storing very big payloads)
*/
void setBodyMaxChars(int bodyMaxChars);
@@ -150,22 +150,22 @@ public interface BacklogTracer {
void setIncludeException(boolean includeException);
/**
- * Whether to support tracing messages and outputting as JSon.
+ * Whether to trace routes that are created from Rest DSL.
*/
boolean isTraceRests();
/**
- * Whether to trace routes that is created from route templates or
kamelets.
+ * Whether to trace routes that are created from Rest DSL.
*/
void setTraceRests(boolean traceRests);
/**
- * Whether to trace routes that is created from route templates or
kamelets.
+ * Whether to trace routes that are created from route templates or
kamelets.
*/
boolean isTraceTemplates();
/**
- * Whether to trace routes that is created from route templates or
kamelets.
+ * Whether to trace routes that are created from route templates or
kamelets.
*/
void setTraceTemplates(boolean traceTemplates);
diff --git a/core/camel-api/src/main/java/org/apache/camel/spi/Tracer.java
b/core/camel-api/src/main/java/org/apache/camel/spi/Tracer.java
index 8ec3e636f990..237335e19c0c 100644
--- a/core/camel-api/src/main/java/org/apache/camel/spi/Tracer.java
+++ b/core/camel-api/src/main/java/org/apache/camel/spi/Tracer.java
@@ -133,12 +133,12 @@ public interface Tracer extends StaticService {
void setStandby(boolean standby);
/**
- * Whether to trace routes that is created from Rest DSL.
+ * Whether to trace routes that are created from Rest DSL.
*/
boolean isTraceRests();
/**
- * Whether to trace routes that is created from route templates or
kamelets.
+ * Whether to trace routes that are created from Rest DSL.
*/
void setTraceRests(boolean traceRests);
diff --git
a/core/camel-core-model/src/main/java/org/apache/camel/model/RouteFilters.java
b/core/camel-core-model/src/main/java/org/apache/camel/model/RouteFilters.java
index 6ddccc3572b2..18d94c0879a1 100644
---
a/core/camel-core-model/src/main/java/org/apache/camel/model/RouteFilters.java
+++
b/core/camel-core-model/src/main/java/org/apache/camel/model/RouteFilters.java
@@ -45,8 +45,8 @@ public final class RouteFilters implements
Function<RouteDefinition, Boolean> {
}
/**
- * Used for filtering routes routes matching the given pattern, which
follows the following rules: - Match by route
- * id - Match by route input endpoint uri The matching is using exact
match, by wildcard and regular expression as
+ * Used for filtering routes matching the given pattern, which follows the
following rules: - Match by route id -
+ * Match by route input endpoint uri The matching is using exact match, by
wildcard and regular expression as
* documented by {@link PatternHelper#matchPattern(String, String)}. For
example to only include routes which starts
* with foo in their route id's, use: include=foo* And to exclude
routes which starts from JMS endpoints, use:
* exclude=jms:* Multiple patterns can be separated by comma, for
example to exclude both foo and bar routes,
diff --git
a/core/camel-support/src/main/java/org/apache/camel/support/MessageHelper.java
b/core/camel-support/src/main/java/org/apache/camel/support/MessageHelper.java
index f56575cb6552..77c2399d8fb3 100644
---
a/core/camel-support/src/main/java/org/apache/camel/support/MessageHelper.java
+++
b/core/camel-support/src/main/java/org/apache/camel/support/MessageHelper.java
@@ -473,8 +473,8 @@ public final class MessageHelper {
* @param indent number of spaces to indent
* @param allowStreams whether to include message body if they are stream
based
* @param allowFiles whether to include message body if they are file
based
- * @param maxChars clip body after maximum chars (to avoid very big
messages). Use 0 or negative value to not
- * limit at all.
+ * @param maxChars clip body after maximum chars (to avoid very big
messages). Use 0 to not limit at all, and a
+ * negative value to not include the body.
* @return the XML
*/
public static String dumpAsXml(
@@ -493,8 +493,8 @@ public final class MessageHelper {
* @param allowCachedStreams whether to include message body if
they are stream cache based
* @param allowStreams whether to include message body if
they are stream based
* @param allowFiles whether to include message body if
they are file based
- * @param maxChars clip body after maximum chars (to
avoid very big messages). Use 0 or negative
- * value to not limit at all.
+ * @param maxChars clip body after maximum chars (to
avoid very big messages). Use 0 to not limit
+ * at all, and a negative value to not
include the body.
* @return the XML
*/
public static String dumpAsXml(
@@ -904,8 +904,8 @@ public final class MessageHelper {
* @param indent number of spaces to indent
* @param allowStreams whether to include message body if they are stream
based
* @param allowFiles whether to include message body if they are file
based
- * @param maxChars clip body after maximum chars (to avoid very big
messages). Use 0 or negative value to not
- * limit at all.
+ * @param maxChars clip body after maximum chars (to avoid very big
messages). Use 0 to not limit at all, and a
+ * negative value to not include the body.
* @return the JSon
*/
public static String dumpAsJSon(
@@ -925,8 +925,8 @@ public final class MessageHelper {
* @param allowCachedStreams whether to include message body if
they are stream cached based
* @param allowStreams whether to include message body if
they are stream based
* @param allowFiles whether to include message body if
they are file based
- * @param maxChars clip body after maximum chars (to
avoid very big messages). Use 0 or negative
- * value to not limit at all.
+ * @param maxChars clip body after maximum chars (to
avoid very big messages). Use 0 to not limit
+ * at all, and a negative value to not
include the body.
* @param pretty whether to pretty print JSon
* @return the JSon
*/
@@ -959,8 +959,8 @@ public final class MessageHelper {
* @param allowCachedStreams whether to include message body if
they are stream cached based
* @param allowStreams whether to include message body if
they are stream based
* @param allowFiles whether to include message body if
they are file based
- * @param maxChars clip body after maximum chars (to
avoid very big messages). Use 0 or negative
- * value to not limit at all.
+ * @param maxChars clip body after maximum chars (to
avoid very big messages). Use 0 to not limit
+ * at all, and a negative value to not
include the body.
* @return the JSon Object
*/
public static JsonObject dumpAsJSonObject(
diff --git a/docs/user-manual/modules/ROOT/pages/clustering.adoc
b/docs/user-manual/modules/ROOT/pages/clustering.adoc
index 98a702b21282..1ecc4433c473 100644
--- a/docs/user-manual/modules/ROOT/pages/clustering.adoc
+++ b/docs/user-manual/modules/ROOT/pages/clustering.adoc
@@ -51,10 +51,10 @@ Configuration options:
[options="header", cols="15,55,15,15"]
|===
| Name | Description | Default | Type
-| sessionTtl | The Consul session TTL in seconds | 60 | int
-| sessionLockDelay | The Consul session lock delay in seconds | 5 | int
-| sessionRefreshInterval | The Consul session refresh interval in seconds | 5
| int
-| rootPath | The Consul cluster root directory path | /camel | String
+| sessionTtl | The time to live in seconds of the Consul session of this
member. When the session is not renewed within it, Consul invalidates the
session and releases the lock it holds, so another member can take the
leadership. Consul accepts 10 to 86400 seconds. | 60 | int
+| sessionLockDelay | The lock delay in seconds of the Consul session: after
Consul invalidates the session, no session can acquire the lock it held for
this time. Consul accepts 0 to 60 seconds. | 5 | int
+| sessionRefreshInterval | The wait time in seconds of the blocking query that
watches the lock key; the session is renewed after each answer, so keep it well
below sessionTtl. Also the time to wait before watching again after a failed
query. | 5 | int
+| rootPath | The key prefix in the Consul key/value store under which each
cluster namespace has its lock key, named rootPath/namespace. | /camel | String
|===
=== FileLockClusterService
@@ -97,8 +97,8 @@ For more information about NFS mount options, see
http://linux.die.net/man/5/nfs
[options="header", cols="15,55,15,15"]
|===
| Name | Description | Default | Type
-| lifespan | The lifespan of the cache entry for the local cluster member
registered to the inventory | 30 | long
-| lifespanTimeUnit | The TimeUnit of the lifespan | SECONDS | TimeUnit
+| lifespan | The lifespan of the leader key and of the membership entry of
this member in the cache; they are refreshed every half lifespan, so a leader
that stops refreshing loses the leadership when its key expires. In the unit of
lifespanTimeUnit, and at least 2. | 30 | long
+| lifespanTimeUnit | The time unit of lifespan. | SECONDS | TimeUnit
|===
=== JGroupsRaftClusterService
@@ -107,8 +107,8 @@ For more information about NFS mount options, see
http://linux.die.net/man/5/nfs
|===
| Name | Description | Default | Type
| jgroupsConfig | The path to the JGroups Raft configuration | raft.xml |
String
-| jgroupsClusterName | The name of the cluster | jgroupsraft-master | String
-| raftHandle | The RaftHandle | | org.jgroups.raft.RaftHandle
+| jgroupsClusterName | The name of the JGroups cluster that the channel joins;
all the cluster members must use the same name. | jgroupsraft-master | String
+| raftHandle | An existing RaftHandle (the JGroups channel and state machine
of this member) to use instead of creating one from jgroupsConfig and id. The
cluster service connects its channel while cluster views use it, and
disconnects the channel, without closing it, when the last view stops. | |
org.jgroups.raft.RaftHandle
| raftId | Unique Raft id | | String
|===
@@ -134,20 +134,20 @@ For more information about NFS mount options, see
http://linux.die.net/man/5/nfs
[options="header", cols="15,55,15,15"]
|===
| Name | Description | Default | Type
-| nodes | The Zookeeper server hosts (multiple servers can be separated by
comma) | | List
-| namespace | ZooKeeper namespace. If a namespace is set here, all paths will
get pre-pended with the namespace | | String
-| reconnectBaseSleepTime | Initial amount of time to wait between retries | |
long
+| nodes | The ZooKeeper servers to connect to, as host:port separated by
commas, for example zk1:2181,zk2:2181,zk3:2181. | | List
+| namespace | The Curator namespace, a path (without a leading slash) that
Curator puts in front of all the paths it uses, basePath included. | | String
+| reconnectBaseSleepTime | The base sleep time in milliseconds of the
exponential backoff between two retries: the n-th retry waits this time
multiplied by a random number from 1 to 2^n - 1. Not used when retryPolicy is
set. | | long
| reconnectBaseSleepTimeUnit | ReconnectBaseSleepTime TimeUnit. Default is |
MILLISECONDS | TimeUnit
-| reconnectMaxRetries | Max number of times to retry | 3 | int
-| sessionTimeout | The session timeout in milliseconds | 60000 | long
+| reconnectMaxRetries | The maximum number of times that Curator retries a
ZooKeeper operation that failed on a connection problem, with exponential
backoff. At most 29. Not used when retryPolicy is set. | 3 | int
+| sessionTimeout | The ZooKeeper session timeout in milliseconds that Curator
requests; the server bounds it between its minimum and maximum session
timeouts. When the session expires, ZooKeeper deletes the election node of this
member, so another member can become the leader. | 60000 | long
| sessionTimeoutUnit | The session timeout TimeUnit | MILLISECONDS | TimeUnit
| connectionTimeout | The connection timeout in milliseconds | 15000 | long
| connectionTimeoutUnit | The connection timeout TimeUnit |
TimeUnit.MILLISECONDS | TimeUnit
| authInfoList | List of AuthInfo objects with scheme and auth | | List
-| maxCloseWait | Time to wait during close to join background threads | 1000 |
long
+| maxCloseWait | The time in milliseconds that closing the Curator client
waits for its background threads to end. | 1000 | long
| maxCloseWaitUnit | MaxCloseWait TimeUnit | MILLISECONDS | TimeUnit
-| retryPolicy | The retry policy to use. | | RetryPolicy
-| basePath | The base path to store in ZooKeeper | | String
+| retryPolicy | A custom Curator RetryPolicy to retry the failed ZooKeeper
operations with. When not set, an ExponentialBackoffRetry built from
reconnectBaseSleepTime, reconnectMaxRetries and reconnectMaxSleepTime. | |
RetryPolicy
+| basePath | The ZooKeeper path under which each cluster namespace has its
leader election node, named basePath/namespace. | | String
|===
=== Configuration examples: