diff options
author | Valery Piashchynski <[email protected]> | 2021-07-23 15:51:54 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-07-23 15:51:54 +0300 |
commit | e88dfd5cd10662f0ad68e69f9d9de2f66ddf26d0 (patch) | |
tree | 0f5c18d6c1205d7499523a35740f4054a9aa9904 /tests/plugins/jobs/durability/.rr-amqp-durability-redial.yaml | |
parent | 9079cc51599d6e21ac59e34573f7bbf2e2e87b9e (diff) |
Add AMQP initial durability test
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/jobs/durability/.rr-amqp-durability-redial.yaml')
-rw-r--r-- | tests/plugins/jobs/durability/.rr-amqp-durability-redial.yaml | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/tests/plugins/jobs/durability/.rr-amqp-durability-redial.yaml b/tests/plugins/jobs/durability/.rr-amqp-durability-redial.yaml new file mode 100644 index 00000000..e530dbcd --- /dev/null +++ b/tests/plugins/jobs/durability/.rr-amqp-durability-redial.yaml @@ -0,0 +1,54 @@ +rpc: + listen: tcp://127.0.0.1:6001 + +server: + command: "php ../../client.php echo pipes" + relay: "pipes" + relay_timeout: "20s" + +amqp: + addr: amqp://guest:guest@localhost:23679/ + +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" ] + |