You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2016/12/02 15:08:37 UTC
[2/2] usergrid-qakka git commit: Reorganize and document the
properties file.
Reorganize and document the properties file.
Project: http://git-wip-us.apache.org/repos/asf/usergrid-qakka/repo
Commit: http://git-wip-us.apache.org/repos/asf/usergrid-qakka/commit/3ad20f3d
Tree: http://git-wip-us.apache.org/repos/asf/usergrid-qakka/tree/3ad20f3d
Diff: http://git-wip-us.apache.org/repos/asf/usergrid-qakka/diff/3ad20f3d
Branch: refs/heads/master
Commit: 3ad20f3df86c2697017b84619e1b3feed6602366
Parents: bd31c02
Author: Dave Johnson <sn...@apache.org>
Authored: Fri Dec 2 10:08:18 2016 -0500
Committer: Dave Johnson <sn...@apache.org>
Committed: Fri Dec 2 10:08:18 2016 -0500
----------------------------------------------------------------------
docs/qakka-example.properties | 5 +++
src/test/resources/qakka.properties | 56 ++++++++++++++++++++++----------
2 files changed, 43 insertions(+), 18 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/usergrid-qakka/blob/3ad20f3d/docs/qakka-example.properties
----------------------------------------------------------------------
diff --git a/docs/qakka-example.properties b/docs/qakka-example.properties
index 6756042..818db89 100644
--- a/docs/qakka-example.properties
+++ b/docs/qakka-example.properties
@@ -18,6 +18,11 @@
# Example Usergrid Qakka Queue System Configuration
+# When Qakka starts up it looks for this file, which must be named
+# "qakka.properties" in the Java classpath. On Tomcat you should be
+# able to place this file in the lib directory.
+
+
#------------------------------------------------------------------------------
# Usergrid Cassandra config
http://git-wip-us.apache.org/repos/asf/usergrid-qakka/blob/3ad20f3d/src/test/resources/qakka.properties
----------------------------------------------------------------------
diff --git a/src/test/resources/qakka.properties b/src/test/resources/qakka.properties
index 94bfeff..6a13ad8 100644
--- a/src/test/resources/qakka.properties
+++ b/src/test/resources/qakka.properties
@@ -16,53 +16,73 @@
# under the License.
-# Properties for JUnit tests
+# Usergrid Qakka Queue System JUnit test configuration
-queue.standalone=true
+#------------------------------------------------------------------------------
+# Usergrid Cassandra config
+
+cassandra.hosts=localhost
+
+cassandra.keyspace.application=qakka_test_application
+
+cassandra.keyspace.queue-message=qakka_test_queue_messages
+
+cassandra.keyspace-drop-and-create=true
+
+#cassandra.connections=30
+
+cassandra.timeout.pool=20000
+
+
+#------------------------------------------------------------------------------
+# Usergrid Cluster Config
usergrid.cluster_name=Test Cluster
usergrid.cluster.hostname=localhost
-# Comma-separated list of regions to be considered
usergrid.cluster.region.list=us-east
-# The regions of this local instance of Usergrid
usergrid.cluster.region.local=us-east
-# Comma-separated lists of cluster seeds each with format {region}:{hostname}
usergrid.cluster.seeds=us-east:localhost
-# Port used for cluster communications.
-usergrid.cluster.port=3545
+usergrid.cluster.port=4551
+
+
+#------------------------------------------------------------------------------
+# Authentication config
+
+queue.auth.enabled=false
+
+
+#------------------------------------------------------------------------------
+# Queue System Config
+
+queue.standalone=true
queue.inmemory.cache=true
queue.num.actors=50
+
queue.sender.num.actors=100
+
queue.writer.num.actors=100
queue.send.timeout.seconds=5
+
queue.get.timeout.seconds=5
# set shard size and times low for testing purposes
queue.shard.max.size=10
+
queue.shard.allocation.check.frequency.millis=1000
+
queue.shard.allocation.advance.time.millis=200
# set low for testing purposes
queue.shard.counter.max-in-memory=50
+
queue.message.counter.max-in-memory=50
queue.long.polling.time.millis=2000
-
-cassandra.hosts=localhost
-
-cassandra.keyspace.application=qakka_test_application
-
-cassandra.keyspace.queue-message=qakka_test_queue_messages
-
-cassandra.keyspace-drop-and-create=true
-
-#cassandra.connections=30
-cassandra.timeout.pool=20000