-
Notifications
You must be signed in to change notification settings - Fork 11
/
fedora-messaging.toml.example
78 lines (60 loc) · 1.92 KB
/
fedora-messaging.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
68
69
70
71
72
73
74
75
76
77
78
# Example configuraton for Fedora Messaging
# Broker address
amqp_url = "amqp://"
# Authentication is TLS-based
[tls]
ca_cert = "/etc/pki/tls/certs/ca-bundle.crt"
keyfile = "/my/client/key.pem"
certfile = "/my/client/cert.pem"
[consumer_config]
fasjson_url = "https://fasjson.fedoraproject.org"
[consumer_config.stomp]
# Broker URI
# http://nikipore.github.io/stompest/protocol.html#stompest.protocol.failover.StompFailoverUri
# Example: failover:(tcp://remote1:61615,tcp://localhost:61616)?randomize=false,startupMaxReconnectAttempts=3,initialReconnectDelay=7,maxReconnectDelay=8,maxReconnectAttempts=0
uri = "ssl://localhost:61612"
# Virtual Host
vhost = "/"
# Authentication
user = "username"
pass = "password"
ssl_crt = "/path/to/an/optional.crt"
ssl_key = "/path/to/an/optional.key"
# Queue to subscribe to
queue = "/queue/fedora_from_esb"
# Heartbeat to keep the connection open
heartbeat = 1000
# How many messages to prefetch
prefetch_size = 100
[consumer_config.bugzilla]
# Products to relay messages for - messages for bugs files against
# other products will be ignored
products = ["Fedora", "Fedora EPEL"]
# Whether to modify messages to look more like Bugzilla 4 ones did
bz4compat = true
[consumer_config.cache]
backend = "dogpile.cache.memory"
expiration_time = 60
arguments = {}
[client_properties]
app = "bugzilla2fedmsg"
[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.loggers.bugzilla2fedmsg]
level = "INFO"
propagate = false
handlers = ["console"]
[log_config.root]
level = "WARNING"
handlers = ["console"]