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 ro...@apache.org on 2019/07/26 07:51:45 UTC
[james-project] 26/32: JAMES-2834 rabbitmq.properties add more
comments for items
This is an automated email from the ASF dual-hosted git repository.
rouazana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 806e7bbee5a60f1165431082dd7e937863c9581a
Author: Tran Tien Duc <dt...@linagora.com>
AuthorDate: Wed Jul 17 11:01:17 2019 +0700
JAMES-2834 rabbitmq.properties add more comments for items
---
.../cassandra-rabbitmq-ldap/destination/conf/rabbitmq.properties | 9 +++++++++
.../cassandra-rabbitmq/destination/conf/rabbitmq.properties | 9 +++++++++
2 files changed, 18 insertions(+)
diff --git a/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/rabbitmq.properties b/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/rabbitmq.properties
index 9ad5d00..1f8b774 100644
--- a/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/rabbitmq.properties
+++ b/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/rabbitmq.properties
@@ -1,8 +1,12 @@
+# Mandatory
uri=amqp://rabbitmq:5672
# RabbitMQ Administration Management
+# Mandatory
management.uri=http://rabbitmq:15672
+# Mandatory
management.user=guest
+# Mandatory
management.password=guest
# Parameters for the Cassandra administrative view
@@ -10,12 +14,17 @@ management.password=guest
# Period of the window. Too large values will lead to wide rows while too little values might lead to many queries.
# Use the number of mail per Cassandra row, along with your expected traffic, to determine this value
# This value can only be decreased to a value dividing the current value
+# Optional, default 1h
mailqueue.view.sliceWindow=1h
+
# Use to distribute the emails of a given slice within your cassandra cluster
# A good value is 2*cassandraNodeCount
# This parameter can only be increased.
+# Optional, default 1
mailqueue.view.bucketCount=1
+
# Determine the probability to update the browse start pointer
# Too little value will lead to unnecessary reads. Too big value will lead to more expensive browse.
# Choose this parameter so that it get's update one time every one-two sliceWindow
+# Optional, default 1000
mailqueue.view.updateBrowseStartPace=1000
\ No newline at end of file
diff --git a/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/rabbitmq.properties b/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/rabbitmq.properties
index 9ad5d00..1f8b774 100644
--- a/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/rabbitmq.properties
+++ b/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/rabbitmq.properties
@@ -1,8 +1,12 @@
+# Mandatory
uri=amqp://rabbitmq:5672
# RabbitMQ Administration Management
+# Mandatory
management.uri=http://rabbitmq:15672
+# Mandatory
management.user=guest
+# Mandatory
management.password=guest
# Parameters for the Cassandra administrative view
@@ -10,12 +14,17 @@ management.password=guest
# Period of the window. Too large values will lead to wide rows while too little values might lead to many queries.
# Use the number of mail per Cassandra row, along with your expected traffic, to determine this value
# This value can only be decreased to a value dividing the current value
+# Optional, default 1h
mailqueue.view.sliceWindow=1h
+
# Use to distribute the emails of a given slice within your cassandra cluster
# A good value is 2*cassandraNodeCount
# This parameter can only be increased.
+# Optional, default 1
mailqueue.view.bucketCount=1
+
# Determine the probability to update the browse start pointer
# Too little value will lead to unnecessary reads. Too big value will lead to more expensive browse.
# Choose this parameter so that it get's update one time every one-two sliceWindow
+# Optional, default 1000
mailqueue.view.updateBrowseStartPace=1000
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org