summaryrefslogtreecommitdiff
path: root/plugins/jobs/oooold/tests/.rr.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jobs/oooold/tests/.rr.yaml')
-rw-r--r--plugins/jobs/oooold/tests/.rr.yaml63
1 files changed, 63 insertions, 0 deletions
diff --git a/plugins/jobs/oooold/tests/.rr.yaml b/plugins/jobs/oooold/tests/.rr.yaml
new file mode 100644
index 00000000..2fd323db
--- /dev/null
+++ b/plugins/jobs/oooold/tests/.rr.yaml
@@ -0,0 +1,63 @@
+jobs:
+ # worker pool configuration
+ workers:
+ command: "php consumer.php"
+ pool:
+ numWorkers: 4
+
+ # rabbitmq and similar servers
+ amqp:
+ addr: amqp://guest:guest@localhost:5672/
+
+ # beanstalk configuration
+ beanstalk:
+ addr: tcp://localhost:11300
+
+ # amazon sqs configuration
+ sqs:
+ key: api-key
+ secret: api-secret
+ region: us-west-1
+ endpoint: http://localhost:9324
+
+ # job destinations and options
+ dispatch:
+ spiral-jobs-tests-amqp-*.pipeline: amqp
+ spiral-jobs-tests-local-*.pipeline: local
+ spiral-jobs-tests-beanstalk-*.pipeline: beanstalk
+ spiral-jobs-tests-sqs-*.pipeline: sqs
+
+ # list of broker pipelines associated with endpoints
+ pipelines:
+ local:
+ broker: ephemeral
+
+ amqp:
+ broker: amqp
+ queue: default
+
+ beanstalk:
+ broker: beanstalk
+ tube: default
+
+ sqs:
+ broker: sqs
+ queue: default
+ declare:
+ MessageRetentionPeriod: 86400
+
+ # list of pipelines to be consumed by the server, keep empty if you want to start consuming manually
+ consume: ["local", "amqp", "beanstalk", "sqs"]
+
+metrics:
+ address: localhost:2112
+
+# monitors rr server(s)
+limit:
+ interval: 1
+ services:
+ jobs:
+ maxMemory: 100
+ TTL: 0
+ idleTTL: 0
+ execTTL: 60 \ No newline at end of file