debian-koji/plugins/messagebus.conf
Mike Bonnet a71ae2711b Add timeout and heartbeat options to the messagebus plugin.
The plugin will block for timeout seconds at most when trying to send a message to the broker.  After that amount of time, the send will fail and an error will be logged.
The plugin will check that the broker is reachable every heartbeat seconds.  If it is not reachable, the connection will be aborted and a new connection will be attempted the next time a message is sent.
2013-06-12 10:11:03 -04:00

24 lines
424 B
Text

# config file for the Koji messagebus plugin
[broker]
host = amqp.example.com
port = 5671
ssl = true
timeout = 10
heartbeat = 60
# PLAIN options
auth = PLAIN
username = guest
password = guest
# GSSAPI options
# auth = GSSAPI
# keytab = /etc/koji-hub/plugins/koji-messagebus.keytab
# principal = messagebus/koji.example.com@EXAMPLE.COM
[exchange]
name = koji.events
type = topic
durable = true
[topic]
prefix = koji.event