This repository has been archived by the owner on Jan 16, 2023. It is now read-only.
/
old_sound_rabbit_mq.yml
46 lines (44 loc) · 1.74 KB
/
old_sound_rabbit_mq.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
old_sound_rabbit_mq:
connections:
default:
host: "%rabbitmq_host%"
port: "%rabbitmq_port%"
user: "%rabbitmq_user%"
password: "%rabbitmq_password%"
vhost: '/'
lazy: true
connection_timeout: 3
read_write_timeout: 3
# requires php-amqplib v2.4.1+ and PHP5.4+
keepalive: false
# requires php-amqplib v2.4.1+
heartbeat: 0
producers:
update_project_info:
connection: default
exchange_options: {name: 'update-project-info', type: fanout}
notification:
connection: default
exchange_options: {name: 'notification', type: fanout}
consumers:
update_project_info:
connection: default
exchange_options: {name: 'update-project-info', type: fanout}
queue_options: {name: 'update-project-info'}
callback: update_project_info_consumer
update_github_metadata:
connection: default
exchange_options: {name: 'update-project-info', type: fanout}
queue_options: {name: 'update-github-metadata'}
callback: update_github_metadata_consumer
multiple_consumers:
notification:
connection: default
exchange_options: {name: 'notification', type: fanout}
queues:
web_notification:
name: 'web-notification'
callback: web_notification_consumer
email_notification:
name: 'email-notification'
callback: email_notification_consumer