-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfig.toml.example
67 lines (53 loc) · 1.57 KB
/
config.toml.example
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
# A sample configuration for fedora-messaging. This file is in the TOML format.
# For complete details on all configuration options, see the documentation
# https://fedora-messaging.readthedocs.io/en/latest/configuration.html.
amqp_url = "amqp://"
publish_exchange = "amq.topic"
callback = "greenwave.consumers.fedora_messaging_consumer:fedora_messaging_callback"
# Note the double brackets below.
# To add another binding, add another [[bindings]] section.
[[bindings]]
queue = "greenwave"
exchange = "amq.topic"
routing_keys = [
"org.fedoraproject.prod.resultsdb.result.new",
"org.fedoraproject.stg.resultsdb.result.new",
"org.fedoraproject.prod.waiver.new",
"org.fedoraproject.stg.waiver.new",
]
[tls]
ca_cert = "/etc/pki/tls/certs/ca-bundle.crt"
keyfile = "/my/client/key.pem"
certfile = "/my/client/cert.pem"
[client_properties]
app = "greenwave"
[queues.greenwave]
durable = true
auto_delete = false
exclusive = false
arguments = {}
[qos]
prefetch_size = 0
prefetch_count = 25
[log_config]
version = 1
disable_existing_loggers = true
[log_config.formatters.simple]
format = "[%(name)s %(levelname)s] %(message)s"
[log_config.handlers.console]
class = "logging.StreamHandler"
formatter = "simple"
stream = "ext://sys.stdout"
[log_config.loggers.fedora_messaging]
level = "INFO"
propagate = false
handlers = ["console"]
[log_config.root]
level = "WARNING"
handlers = ["console"]
# greenwave consumer configuration
[consumer_config]
topic_prefix = 'org.fedoraproject'
environment = 'dev'
waiverdb_topic_suffix = 'waiver.new'
resultsdb_topic_suffix = 'resultsdb.result.new'