Koschei: fedora-messaging consumer configuration
This commit is contained in:
parent
3a979c44e6
commit
6b37dbef66
1 changed files with 22 additions and 6 deletions
|
@ -1,12 +1,28 @@
|
||||||
amqp_url = "amqps://koschei{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
|
amqp_url = "amqps://koschei{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
|
||||||
|
topic_prefix = "org.fedoraproject.{{ fedmsg_env }}"
|
||||||
{% if env == "staging" %}
|
passive_declares = true
|
||||||
topic_prefix = "org.fedoraproject.stg"
|
|
||||||
{% else %}
|
|
||||||
topic_prefix = "org.fedoraproject.prod"
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
[tls]
|
[tls]
|
||||||
ca_cert = "/etc/koschei/rabbitmq-ca.crt"
|
ca_cert = "/etc/koschei/rabbitmq-ca.crt"
|
||||||
certfile = "/etc/koschei/rabbitmq-client.crt"
|
certfile = "/etc/koschei/rabbitmq-client.crt"
|
||||||
keyfile = "/etc/koschei/rabbitmq-client.key"
|
keyfile = "/etc/koschei/rabbitmq-client.key"
|
||||||
|
|
||||||
|
[exchanges."amq.topic"]
|
||||||
|
type = "topic"
|
||||||
|
durable = true
|
||||||
|
auto_delete = false
|
||||||
|
arguments = {}
|
||||||
|
|
||||||
|
[queues."koschei.stg"]
|
||||||
|
durable = true
|
||||||
|
auto_delete = false
|
||||||
|
exclusive = false
|
||||||
|
arguments = {}
|
||||||
|
|
||||||
|
[[bindings]]
|
||||||
|
queue = "koschei.stg"
|
||||||
|
exchange = "amq.topic"
|
||||||
|
routing_keys = [
|
||||||
|
"org.fedoraproject.stg.buildsys.tag",
|
||||||
|
"org.fedoraproject.stg.buildsys.task.state.change",
|
||||||
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue