You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2019/11/06 06:18:49 UTC

[james-project] 07/09: JAMES-2904 Enhance Cassandra documentation

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit be9c69f18d1495ea298777c594fadeac9c7b21f5
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Wed Oct 30 10:39:16 2019 +0700

    JAMES-2904 Enhance Cassandra documentation
---
 src/site/xdoc/server/config-cassandra.xml | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/src/site/xdoc/server/config-cassandra.xml b/src/site/xdoc/server/config-cassandra.xml
index 53f47c6..a418eea 100644
--- a/src/site/xdoc/server/config-cassandra.xml
+++ b/src/site/xdoc/server/config-cassandra.xml
@@ -36,10 +36,11 @@
         <dd>List of some nodes of the cassandra's cluster in following format host:port or host, if the port is not specified we use 9042</dd>
 
         <dt><strong>cassandra.keyspace</strong></dt>
-        <dd>Is the name of the keyspace used by James.</dd>
+        <dd>Is the name of the keyspace used by James. Optional, default value: <b>apache_james</b></dd>
 
         <dt><strong>cassandra.replication.factor</strong></dt>
-        <dd>Is the replication factor. (should be 1, as cluster is not yet supported)</dd>
+        <dd>Is the replication factor used upon keyspace creation. Modifying this property while the keyspace already exists
+        will have no effect. Optional. Default value 1.</dd>
 
         <dt><strong>cassandra.query.logger.constant.threshold</strong></dt>
         <dd>Optional.
@@ -67,16 +68,17 @@
         <dd>Optional.
           If specified defines the Cassandra <a href="https://docs.datastax.com/en/developer/java-driver/3.5/manual/socket_options/">driver read timeout</a>.</dd>
 
-        # Read com.datastax.driver.core.PoolingOptions for knowing defaults value
-        # No value here will default to driver's default value
 
-        # cassandra.pooling.local.max.connections=8
-        # cassandra.pooling.local.max.requests=128
-        ## In ms. Should be higher than socket read timeout
-        # cassandra.pooling.timeout=5000
-        ## In seconds.
-        # cassandra.pooling.heartbeat.timeout=30
-        # cassandra.pooling.max.queue.size=256
+        <pre><code># Read com.datastax.driver.core.PoolingOptions for knowing defaults value
+# No value here will default to driver's default value
+
+# cassandra.pooling.local.max.connections=8
+# cassandra.pooling.local.max.requests=128
+## In ms. Should be higher than socket read timeout
+# cassandra.pooling.timeout=5000
+## In seconds.
+# cassandra.pooling.heartbeat.timeout=30
+# cassandra.pooling.max.queue.size=256</code></pre>
 
         <dt><strong>cassandra.pooling.local.max.connections</strong></dt>
         <dd>Optional. Defaults to 8.<br/>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org