-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathexample.ini
More file actions
72 lines (62 loc) · 1.67 KB
/
example.ini
File metadata and controls
72 lines (62 loc) · 1.67 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[connection:main]
# The host (or host:port) of the broker node to connect to.
host = localhost
# The virtual host to connect to.
virtual_host = /
# The user to connect as.
userid = guest
# The user's password.
password = guest
# If set, forces the use of SSL to connect to the broker.
ssl = False
[queue:events]
# Will the queue be declared as durable, and survive broker restarts?
durable = True
# Will the queue be declared as auto-deleted, and be removed if all
# consumers exit?
auto_delete = False
# Is the queue exclusive to this program?
exclusive = False
[exchange:postoffice]
# The exchange type ('direct', 'fanout', or 'topic')
type = direct
# Will the exchange be declared as durable, and survive broker restarts?
durable = True
# Will the exchange be declared as auto-deleted, and be removed if all
# producers exit?
auto_delete = False
[binding:postoffice/events]
# The name of the queue to bind
queue = events
# The exchange to bind to.
exchange = postoffice
# The routing key to bind under (optional for some exchange types)
routing_key = events
[consumer:echo]
# Entry point identifier
use = sparkplug#echo
# Queue to consume against
queue = events
# Other parameters will be passed passed to the entry point
format = %%(body)s
# Configure Python logging
#
# For daemon mode, you probably want to send this to a file or to syslog,
# not to stdout.
[loggers]
keys=root
[handlers]
keys=consoleHandler
[formatters]
keys=simpleFormatter
[logger_root]
level=DEBUG
handlers=consoleHandler
[handler_consoleHandler]
class=StreamHandler
level=DEBUG
formatter=simpleFormatter
args=(sys.stdout,)
[formatter_simpleFormatter]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
datefmt=