diff options
author | Valery Piashchynski <[email protected]> | 2021-07-22 19:41:11 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-07-22 19:41:11 +0300 |
commit | 584e9ad1f50223f873661babae3b365a2b0662ec (patch) | |
tree | 16c0b10b57f6703e56f6c84d7d81ae43f554bbf4 /tests/plugins/jobs/beanstalk/.rr-beanstalk-init.yaml | |
parent | 2ceebd687fd17b6029ef3df0e979c39bb39abc7f (diff) |
Initial tests for all drivers
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/jobs/beanstalk/.rr-beanstalk-init.yaml')
-rw-r--r-- | tests/plugins/jobs/beanstalk/.rr-beanstalk-init.yaml | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/tests/plugins/jobs/beanstalk/.rr-beanstalk-init.yaml b/tests/plugins/jobs/beanstalk/.rr-beanstalk-init.yaml new file mode 100644 index 00000000..5ca45b7d --- /dev/null +++ b/tests/plugins/jobs/beanstalk/.rr-beanstalk-init.yaml @@ -0,0 +1,57 @@ +rpc: + listen: tcp://127.0.0.1:6001 + +server: + command: "php ../../client.php echo pipes" + relay: "pipes" + relay_timeout: "20s" + +beanstalk: + # beanstalk address + addr: tcp://localhost:11300 + # connect timeout + timeout: 10s + +logs: + level: info + encoding: console + mode: development + +jobs: + num_pollers: 10 + pipeline_size: 100000 + pool: + num_workers: 10 + max_jobs: 0 + allocate_timeout: 60s + destroy_timeout: 60s + + pipelines: + test-1: + driver: amqp + prefetch: 100 + queue: test-1-queue + priority: 1 + exchange: default + exchange_type: direct + routing_key: test-1 + exclusive: false + multiple_ack: false + requeue_on_fail: false + + test-2: + driver: amqp + prefetch: 100 + queue: test-2-queue + priority: 2 + exchange: default + exchange_type: direct + routing_key: test-2 + exclusive: false + multiple_ack: false + requeue_on_fail: false + + + # list of pipelines to be consumed by the server, keep empty if you want to start consuming manually + consume: [ "test-1", "test-2" ] + |