-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.yaml.example
More file actions
44 lines (41 loc) · 1.34 KB
/
config.yaml.example
File metadata and controls
44 lines (41 loc) · 1.34 KB
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
global:
host: # defaults to 127.0.0.1
port: # defaults to 5672
vhost: / # defaults to /
user: guest
passwd: guest
publish_service:
exchange: exchange_name
routing_key: routing_key
service_role: publish
subscribe_service:
service_role: subscribe
queue_name: # optional, defaults to random string
exchange: exchange_name # optional if queue is bound to exchange already
routing_key: routing_key # optional if queue is bound to exchange already
service_full:
host: # defaults to 127.0.0.1
port: # defaults to 5672
vhost: / # defaults to /
user: guest
passwd: guest
exchange: exchange_name
routing_key: routing_key
service_role: subscribe | publish | healthy | rpc
queue_name: # if role is subscribe, queue_name is optional, defaults to random string
extra_params: # applies in ConnectionParameters
connection_params: # applies while build Connection object
declare:
exchange:
name: required # will add `exchange.` prefix
type: direct | fanout | topic | headers # defaults to topic
extra_args: # dict, defaults to no args
queue:
name: required # required as of declare
passive: True # defaults to True, for avoiding permission issue
extra_args: # dict, defaults to no args
routing_key: bind
binds:
- exchange:
queue_name:
routing_key: