FMN: add the topic prefix to the API FM sender
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
9fef897903
commit
d1bbf7ee5a
1 changed files with 8 additions and 0 deletions
|
@ -1,6 +1,14 @@
|
||||||
amqp_url = "amqps://fmn{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
|
amqp_url = "amqps://fmn{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
|
||||||
passive_declares = true
|
passive_declares = true
|
||||||
|
|
||||||
|
# The topic_prefix configuration value will add a prefix to the topics of every sent message.
|
||||||
|
# This is used for migrating from fedmsg, and should not be used afterwards.
|
||||||
|
{% if env == "staging" %}
|
||||||
|
topic_prefix = "org.fedoraproject.stg"
|
||||||
|
{% else %}
|
||||||
|
topic_prefix = "org.fedoraproject.prod"
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
[tls]
|
[tls]
|
||||||
ca_cert = "/etc/pki/fedora-messaging/ca/cacert.pem"
|
ca_cert = "/etc/pki/fedora-messaging/ca/cacert.pem"
|
||||||
certfile = "/etc/pki/fedora-messaging/crt/fmn-cert.pem"
|
certfile = "/etc/pki/fedora-messaging/crt/fmn-cert.pem"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue